summaryrefslogtreecommitdiffstats
path: root/abs/extra/sgml-common/PKGBUILD
blob: 9182f0e7dcd3819e4cece7447d193840db2c8cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id$
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrew Fyfe <andrew@neptune-one.net>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>

pkgname='sgml-common'
pkgver=0.6.3
pkgrel=5
pkgdesc='Tools for maintaining centralized SGML catalogs.'
arch=('any')
url='http://www.docbook.org/xml/'
license=('GPL')
install='sgml-common.install'
depends=('sh')
source=("ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-${pkgver}.tgz"
        'sgml-common-0.6.3-manpage-1.patch')
sha512sums=('3c4a55f555596b2a6bf6af66c497679226e7b40625ac16832150488311cba7f9fc523435eea5837262a5517f5c09c4c0e07fe4a2cf02184d4027609c26e4bc0c'
            'c584ff6e66e1d58456c07849bf96fedd3f1df0b93430f6301c4d4ab9906821dea0cbac82eada19197540b5e31f13febd04fadda5b6e2ba4b0b6ee8f0328292f7')

prepare() {
  cd sgml-common-${pkgver}
  patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch
}

build() {
  cd sgml-common-${pkgver}
  autoreconf -vfi
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}
package(){
  cd sgml-common-${pkgver}
  make DESTDIR="$pkgdir" docdir=/usr/share/doc install

#   "$pkgdir/usr/doc" "$pkgdir/usr/share/doc"
}