aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-weblog/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-21 16:25:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-21 16:27:05 +0200
commit5fd2bd4ddab35efe5523a225b81160831b866f9b (patch)
tree292e975ef83af8c2177737b236e6f7f443d3c596 /main/acf-weblog/APKBUILD
parentdb3867df2088ca37bed812d9747d337543c6a8b6 (diff)
downloadaports-5fd2bd4ddab35efe5523a225b81160831b866f9b.tar.bz2
aports-5fd2bd4ddab35efe5523a225b81160831b866f9b.tar.xz
main/acf-weblog: let user manually update database schema
Diffstat (limited to 'main/acf-weblog/APKBUILD')
-rw-r--r--main/acf-weblog/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/acf-weblog/APKBUILD b/main/acf-weblog/APKBUILD
index 52a3fbc1dd..8c1a9f2351 100644
--- a/main/acf-weblog/APKBUILD
+++ b/main/acf-weblog/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-weblog
pkgver=0.6.2
-pkgrel=0
+pkgrel=1
pkgdesc="ACF for web proxy (squid and dansguardian) logfiles"
url="http://git.alpinelinux.org/cgit/acf-weblog"
arch="noarch"
@@ -11,11 +11,15 @@ depends="acf-core lua lua-sql-postgres wget postgresql-client"
makedepends=""
install="$pkgname.post-upgrade"
subpackages=""
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ acf-weblog-update-schema"
package() {
cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm755 "$srcdir"/acf-weblog-update-schema \
+ "$pkgdir"/usr/sbin/acf-weblog-update-schema
}
-md5sums="ceb9d0f32a4ce457ced0f442a52a1797 acf-weblog-0.6.2.tar.bz2"
+md5sums="ceb9d0f32a4ce457ced0f442a52a1797 acf-weblog-0.6.2.tar.bz2
+f9835fc6d17241c71e4dff1ffa11d72c acf-weblog-update-schema"