OCaml 4.14.0 rebuild
[arch-packages.git] / docbook-dsssl / repos / extra-any / PKGBUILD
blob70bfab2be42bb1985f9740b01fce696e3070914f
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'
8 pkgver=1.79
9 pkgrel=8
10 pkgdesc="DSSSL Stylesheets for DocBook"
11 arch=('any')
12 url="http://docbook.sourceforge.net/"
13 license=('custom')
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')
21 prepare() {
22   cd "${pkgname}-${pkgver}"
23   cp "${srcdir}"/docbook-style-dsssl.Makefile Makefile
26 package(){
27   cd "${pkgname}-${pkgver}"
28   # FS#67286 parallel installation might fail
29   make -j1 install \
30      BINDIR="${pkgdir}/usr/bin" \
31      DESTDIR="${pkgdir}/usr/share/sgml/docbook/dsssl-stylesheets-${pkgver}" \
32      MANDIR="${pkgdir}/usr/share/man"
33   
34   ln -s dsssl-stylesheets-${pkgver} ${pkgdir}/usr/share/sgml/docbook/dsssl-stylesheets
35   # license
36   install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/COPYING"