aboutsummaryrefslogtreecommitdiffstats
path: root/main/docbook-xsl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-18 09:37:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-18 09:37:14 +0000
commit13e87097c1bd5ae3b5af9e279264aac1d86f9e62 (patch)
tree0bd26b1fd3cac42b5f2e4020175a477fa13dddd2 /main/docbook-xsl/APKBUILD
parent2d5ad4d5336f4a51514b3c26bf8ce318e027bfdf (diff)
downloadaports-13e87097c1bd5ae3b5af9e279264aac1d86f9e62.tar.bz2
aports-13e87097c1bd5ae3b5af9e279264aac1d86f9e62.tar.xz
main/docbook-xsl: fix post-deinstall
dont exit with error if package does not exist.
Diffstat (limited to 'main/docbook-xsl/APKBUILD')
-rw-r--r--main/docbook-xsl/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/docbook-xsl/APKBUILD b/main/docbook-xsl/APKBUILD
index 5e9738c49c..085493c723 100644
--- a/main/docbook-xsl/APKBUILD
+++ b/main/docbook-xsl/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=docbook-xsl
pkgver=1.74.0
-pkgrel=1
+pkgrel=2
pkgdesc="XML stylesheets for Docbook-xml transformations."
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
license="custom"
@@ -10,8 +10,11 @@ makedepends=""
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="http://downloads.sourceforge.net/sourceforge/docbook/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
+ return 0
+}
+
+package() {
cd "$srcdir"/$pkgname-$pkgver
_dest="$pkgdir"/usr/share/xml/docbook/xsl-stylesheets-$pkgver
mkdir -p "$_dest"/common