1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 # Contributor: Chris Severance aur.severach aATt spamgourmet dott com
4 # Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
5 # Contributor: Suat SARIALP <muhendis.suat@gmail.com>
7 pkgname='docbook-dsssl'
10 pkgdesc="DSSSL Stylesheets for DocBook"
12 url="http://docbook.sourceforge.net/"
14 depends=('sgml-common' 'perl')
15 install=${pkgname}.install
16 source=(https://sourceforge.net/projects/docbook/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2
17 docbook-style-dsssl.Makefile)
18 sha1sums=('0ee935247c9f850e930f3b5c162dbc03915469cd'
19 '104a665b2c3e1520337533862cbd1c1c55d6e01c')
22 cd "${pkgname}-${pkgver}"
23 cp "${srcdir}"/docbook-style-dsssl.Makefile Makefile
27 cd "${pkgname}-${pkgver}"
28 # FS#67286 parallel installation might fail
30 BINDIR="${pkgdir}/usr/bin" \
31 DESTDIR="${pkgdir}/usr/share/sgml/docbook/dsssl-stylesheets-${pkgver}" \
32 MANDIR="${pkgdir}/usr/share/man"
34 ln -s dsssl-stylesheets-${pkgver} ${pkgdir}/usr/share/sgml/docbook/dsssl-stylesheets
36 install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/COPYING"