blob: 432c59078b7eb3944d6375f1be7c5486f227420c (
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
38
39
40
41
42
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=docbook-xsl
pkgver=1.78.1
pkgrel=0
pkgdesc="XML stylesheets for Docbook-xml transformations."
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
arch="all"
license="custom"
depends="libxml2-utils libxslt docbook-xml"
makedepends=""
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="http://downloads.sourceforge.net/sourceforge/docbook/$pkgname-$pkgver.tar.bz2"
build() {
return 0
}
package() {
cd "$srcdir"/$pkgname-$pkgver
_dest="$pkgdir"/usr/share/xml/docbook/xsl-stylesheets-$pkgver
mkdir -p "$_dest"/common
for i in xml xsl dtd ent; do
install -m644 common/*.$i "$_dest"/common/
done
mkdir -p "$_dest"/params
install -m644 params/*.xml "$_dest"/params/
for fn in fo highlighting html roundtrip; do
mkdir -p "$_dest"/$fn
install -m644 ${fn}/*.xml "$_dest"/$fn/
install -m644 ${fn}/*.xsl "$_dest"/$fn/
done
for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml; do
mkdir -p "$_dest"/$fn
install -m644 ${fn}/*.xsl "$_dest"/$fn/
done
mkdir -p "$pkgdir"/etc/xml
install -m644 VERSION "$_dest"/
cp -a VERSION.xsl "$_dest"/VERSION.xsl || return 1
install -m644 -D COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="6dd0f89131cc35bf4f2ed105a1c17771 docbook-xsl-1.78.1.tar.bz2"
sha256sums="c98f7296ab5c8ccd2e0bc07634976a37f50847df2d8a59bdb1e157664700b467 docbook-xsl-1.78.1.tar.bz2"
sha512sums="0a5ca95e6e451192c4edf15d2b72c716935ce6df0c70c1974f794f0085db8f52f3e1f470435b6a77ec7c0f67e32c189a4dd334305e609031173444d5818767f3 docbook-xsl-1.78.1.tar.bz2"
|