diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-18 09:37:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-18 09:37:14 +0000 |
commit | 13e87097c1bd5ae3b5af9e279264aac1d86f9e62 (patch) | |
tree | 0bd26b1fd3cac42b5f2e4020175a477fa13dddd2 /main/docbook-xsl/APKBUILD | |
parent | 2d5ad4d5336f4a51514b3c26bf8ce318e027bfdf (diff) | |
download | aports-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/APKBUILD | 9 |
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 |