mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:57:13 +08:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# $Id: PKGBUILD 69734 2010-02-22 09:25:57Z giovanni $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributer: Sean Middleditch <elanthis@awesomeplay.com>
|
|
|
|
pkgname=docbook-xsl
|
|
pkgver=1.78.1
|
|
pkgrel=2
|
|
pkgdesc="XML stylesheets for Docbook-xml transformations."
|
|
arch=('any')
|
|
license=('custom')
|
|
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
|
|
depends=('libxml2' 'libxslt' 'docbook-xml')
|
|
source=(http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-${pkgver}.tar.bz2)
|
|
install=$pkgname.install
|
|
md5sums=('6dd0f89131cc35bf4f2ed105a1c17771')
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
_pkgroot=${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}
|
|
|
|
install -dm755 ${_pkgroot}
|
|
install -m644 VERSION VERSION.xsl ${_pkgroot}
|
|
|
|
for fn in assembly common eclipse epub epub3 fo highlighting html htmlhelp javahelp lib \
|
|
manpages params profiling roundtrip template website xhtml xhtml-1_1 xhtml5; do
|
|
install -dm755 ${_pkgroot}/${fn}
|
|
install -m644 ${fn}/*.{xml,xsl,dtd,ent} ${_pkgroot}/${fn} || true # ignore missing files
|
|
done
|
|
|
|
install -dm755 ${pkgdir}/etc/xml
|
|
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|