diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-20 08:32:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-20 08:32:50 +0000 |
commit | 3438ca7110038748172d38f87f7ad095af2bbb56 (patch) | |
tree | 5860ac39ba302471c8a66f6b612749e3df6d66d0 /main/pingu | |
parent | 688d54df37e4ceaec38ca2eeb501680ee26459d1 (diff) | |
download | aports-3438ca7110038748172d38f87f7ad095af2bbb56.tar.bz2 aports-3438ca7110038748172d38f87f7ad095af2bbb56.tar.xz |
main/pingu: upgrade to 1.0
Diffstat (limited to 'main/pingu')
-rw-r--r-- | main/pingu/APKBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/main/pingu/APKBUILD b/main/pingu/APKBUILD index 9101c42776..93aaad4e33 100644 --- a/main/pingu/APKBUILD +++ b/main/pingu/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pingu -pkgver=0.5 -pkgrel=2 +pkgver=1.0 +pkgrel=0 pkgdesc="Small daemon that pings hosts and executes a script when status change" url="http://git.alpinelinux.org/cgit/pingu" arch="all" @@ -12,14 +12,19 @@ source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.t pingu.initd " -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" make || return 1 +} + +package() { + cd "$_builddir" make BINDIR=/usr/sbin DESTDIR="$pkgdir" install install -m644 -D pingu.conf "$pkgdir"/etc/pingu/pingu.conf install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -md5sums="cd3cba6df527528eb035691b513e4dd1 pingu-0.5.tar.bz2 -318110763cc8ba23a61455d16cb23f97 pingu.initd" +md5sums="48cd3a7acacbb1974af90c6de33b4167 pingu-1.0.tar.bz2 +e9ded9033027561443c03f8b0e310ad4 pingu.initd" |