diff options
Diffstat (limited to 'main/dhcpcd-ui/APKBUILD')
-rw-r--r-- | main/dhcpcd-ui/APKBUILD | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/main/dhcpcd-ui/APKBUILD b/main/dhcpcd-ui/APKBUILD index d2017c12f0..08199c80cf 100644 --- a/main/dhcpcd-ui/APKBUILD +++ b/main/dhcpcd-ui/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcpcd-ui -pkgver=0.6.0 +pkgver=0.7.1 pkgrel=0 pkgdesc="A GTK+ monitor and configuration GUI for dhcpcd" url="http://roy.marples.name/projects/dhcpcd-ui" @@ -10,10 +10,22 @@ depends="dhcpcd-dbus hicolor-icon-theme" makedepends="glib-dev gtk+-dev dbus-dev libnotify-dev pkgconfig" install= subpackages="$pkgname-doc" -source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2" +source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2 + strverscmp.patch + " + +_builddir="$srcdir"/dhcpcd-ui-$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 "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,8 +35,13 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" AUTOSTARTDIR=/etc/xdg/autostart install } -md5sums="9c603d7cffbdaa62453f7620191c7286 dhcpcd-ui-0.6.0.tar.bz2" +md5sums="6182f24077be3b5fec30caa812f457cb dhcpcd-ui-0.7.1.tar.bz2 +143644499e5b4d0681e1e45f8b9689ef strverscmp.patch" +sha256sums="cc15a073c1678a28c2cb95848e333dfb94edb864e4937ea989682ae085a1a8c8 dhcpcd-ui-0.7.1.tar.bz2 +76420de0f9d306c1ae07bfd7534a0af0fc19bbd6582b9790271af91680574e52 strverscmp.patch" +sha512sums="ffe5efeb00639961e4f5e964c4634a97cbb53a8c40f240e22098526772f1ddb19b4a487bc7ff7f3f9fb8f5edb66b00efc8d6c6ffe01973384e5e0515e5076f7b dhcpcd-ui-0.7.1.tar.bz2 +52538f697c227dbbd9f706fe0b09e3a6e716b1396065031e453b03c9add5bc03a19e48bacc5684d5db7d133734a51323f11306164f2061423fa66880e64e6520 strverscmp.patch" |