diff options
Diffstat (limited to 'main/pingu/APKBUILD')
-rw-r--r-- | main/pingu/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/pingu/APKBUILD b/main/pingu/APKBUILD index 6ccad9a8c9..2aab349441 100644 --- a/main/pingu/APKBUILD +++ b/main/pingu/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pingu pkgver=1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Small daemon that pings hosts and executes a script when status change" url="http://git.alpinelinux.org/cgit/pingu" arch="all" @@ -17,6 +17,15 @@ source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.b _builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build() { cd "$_builddir" make || return 1 |