diff options
-rw-r--r-- | main/cacti/APKBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/main/cacti/APKBUILD b/main/cacti/APKBUILD index 87b052bd3c..6f35435b3b 100644 --- a/main/cacti/APKBUILD +++ b/main/cacti/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=cacti -pkgver=0.8.7i +pkgver=0.8.8b pkgrel=0 pkgdesc="Network monitoring tool based on RRDtool" url="http://www.cacti.net" @@ -8,19 +8,15 @@ arch="noarch" license="GPL" depends="mysql php php-mysql php-snmp rrdtool net-snmp php-sockets php-xml php-gd" makedepends= -source="http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz -http://www.cacti.net/downloads/patches/$pkgver/settings_checkbox.patch" +source="http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver - prepare() { cd "$_builddir" - for i in ../*.patch; do - msg "Applying $i" - if ! patch -p1 -i $i; then - error "$i failed" - return 1 - fi + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac done } @@ -34,5 +30,4 @@ package() { mv "$srcdir"/$pkgname-$pkgver/* "$pkgdir"/usr/share/webapps/cacti/ || return 1 } -md5sums="07fd1da6b0ac4912410df3aa4e451a4b cacti-0.8.7i.tar.gz -930e6c18b692fb94a19ddbd95a529a8b settings_checkbox.patch" +md5sums="bb0325e73c878a9800e38f962a2ba0a6 cacti-0.8.8b.tar.gz" |