aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/pingu/APKBUILD17
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"