diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-20 12:32:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-20 12:32:18 +0000 |
commit | 7e775bc6a662da96528f6681e4969fd75509ec8a (patch) | |
tree | 85ec88633b32aa24a9e42f63935d549ae0ffec4a /main/pingu/APKBUILD | |
parent | d951886a27159b0d0583c575e22e2233de078dfa (diff) | |
download | aports-7e775bc6a662da96528f6681e4969fd75509ec8a.tar.bz2 aports-7e775bc6a662da96528f6681e4969fd75509ec8a.tar.xz |
main/pingu: actually apply patch
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 |