aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-06 09:37:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-06 09:38:14 +0000
commitfdb440c7a1881d08c94cbed1ab71bf5d7a74ce7e (patch)
treef9795e76aace40845849032172dcec45d914cc18 /main
parentf70b25851e1c47f8023a49ddefe996ae6beb6855 (diff)
downloadaports-fdb440c7a1881d08c94cbed1ab71bf5d7a74ce7e.tar.bz2
aports-fdb440c7a1881d08c94cbed1ab71bf5d7a74ce7e.tar.xz
main/docbook-xsl: add assembly, epub, epub3, xhtml-1_1 and xhtml5
and fix some missing files
Diffstat (limited to 'main')
-rw-r--r--main/docbook-xsl/APKBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/main/docbook-xsl/APKBUILD b/main/docbook-xsl/APKBUILD
index 432c59078b..518ac2d64d 100644
--- a/main/docbook-xsl/APKBUILD
+++ b/main/docbook-xsl/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=docbook-xsl
pkgver=1.78.1
-pkgrel=0
+pkgrel=1
pkgdesc="XML stylesheets for Docbook-xml transformations."
-url="http://scrollkeeper.sourceforge.net/docbook.shtml"
+url="http://docbook.sourceforge.net/"
arch="all"
license="custom"
depends="libxml2-utils libxslt docbook-xml"
@@ -17,25 +17,24 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
+ local _dest dir f
_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/
+
+ install -m644 VERSION VERSION.xsl "$_dest"/
+
+ 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
- mkdir -p "$pkgdir"/etc/xml
- install -m644 VERSION "$_dest"/
- cp -a VERSION.xsl "$_dest"/VERSION.xsl || return 1
+
+ install -dm755 "$pkgdir"/etc/xml || return 1
+
install -m644 -D COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}