blob: e5b8be5d90c04d937a0153f35de18858939b071a (
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
46
47
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=docbook-xsl
pkgver=1.79.2
pkgrel=2
pkgdesc="XML stylesheets for Docbook-xml transformations."
url="https://docbook.org"
arch="noarch"
license="custom"
depends="libxml2-utils libxslt docbook-xml"
makedepends=""
options="!check"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F$pkgver/docbook-xsl-$pkgver.tar.gz
765567_non-recursive_string_subst.patch
"
build() {
return 0
}
package() {
cd "$srcdir"/$pkgname-$pkgver
local _dest dir f
_dest="$pkgdir"/usr/share/xml/docbook/xsl-stylesheets-$pkgver
install -dm755 "$_dest"
install -m644 VERSION VERSION.xsl "$_dest"/ || return 1
for dir 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 $_dest/$dir
for f in $dir/*.xml $dir/*.xsl $dir/*.dtd $dir/*.ent; do
[ -e "$f" ] || continue
install -m644 $f $_dest/$dir || return 1
done
done
install -dm755 "$pkgdir"/etc/xml || return 1
install -m644 -D COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="cd375e7a2339bcd9d24936b370c4371b351cab7c8a79044e785d0300dab75bed5a5c9b9076d4fba32d39b22535edfc6f449a7b1086139ad8bf54eab844b9434e docbook-xsl-1.79.2.tar.gz
3199de6b5a61ed25defa50a55fa3d138b60e1f5e4c2e3b9a14e169099189794adc3ac079fa3f62debc682f4840c6dadff40f8bd5a07fdba34fe1016ce885b9e2 765567_non-recursive_string_subst.patch"
|