aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-dbus/APKBUILD
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-02-02 17:30:19 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-15 10:17:35 +0000
commite0378bdd54756829f03cf2d802dd4dacffa47604 (patch)
tree4a1989336650f3162f78d0a8bd76a58890a88ad8 /main/dhcpcd-dbus/APKBUILD
parenta542f61274291c8ff49152bc18112b57dec1cfb3 (diff)
downloadaports-e0378bdd54756829f03cf2d802dd4dacffa47604.tar.bz2
aports-e0378bdd54756829f03cf2d802dd4dacffa47604.tar.xz
main/dhcpcd-dbus: cleanups in patches, add dbus as dependency
Diffstat (limited to 'main/dhcpcd-dbus/APKBUILD')
-rw-r--r--main/dhcpcd-dbus/APKBUILD23
1 files changed, 9 insertions, 14 deletions
diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD
index 0ad5238dc..eed0ea064 100644
--- a/main/dhcpcd-dbus/APKBUILD
+++ b/main/dhcpcd-dbus/APKBUILD
@@ -2,22 +2,19 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=dhcpcd-dbus
pkgver=0.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="DBUS binding to dhcpcd"
url="http://roy.marples.name/projects/dhcpcd-dbus"
arch="all"
license="BSD"
-depends=""
+depends="dbus"
makedepends="dbus-dev"
install=
subpackages=
-source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2
- fix-includes.patch
- strverscmp.patch
- "
-
-_builddir="$srcdir/$pkgname-$pkgver"
+source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2
+ fix-dhcpcd.patch"
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
@@ -33,6 +30,7 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --rundir=/run \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$pkgname \
|| return 1
@@ -45,11 +43,8 @@ package() {
}
md5sums="3e0762be2f2336dceebaa319f388c8dd dhcpcd-dbus-0.6.1.tar.bz2
-7b418d583fc1ddb203fbcdcec3b94931 fix-includes.patch
-142317002d3bb1044fd9cb0ee4353482 strverscmp.patch"
+75fa69816c4e4c70ac3215096dd02d6c fix-dhcpcd.patch"
sha256sums="cdb03f21fa2d37be8804d3aba80012ad0735131e263f05bc44c36f5f13d70a06 dhcpcd-dbus-0.6.1.tar.bz2
-f81fea89c922c25cc97729beceea59d8166331c79c1b47534c679a3567f8247f fix-includes.patch
-0c604b09423d7013e183b0d4ba0a7871a6d3d4b83fc30910bf7955372cdf650c strverscmp.patch"
+51c693f0f4d31627cb2001c4d2b644ad57de2cdbd52d8d6d30f93f27537787bd fix-dhcpcd.patch"
sha512sums="ec110654115afedead094c6766877e7b3f5facbfec6778590d8aa3ceef777b183754fc077a10cf5c16b39c03e42d5948abd7c21e1d8a2d7fa376ec229bd75e6a dhcpcd-dbus-0.6.1.tar.bz2
-88fbce9783a61f319a7464ab15ae8689126b04759835d23ca155f00103117b1d155c7d845781420440f740632807e0d34be8b2e0cfd18950df853d8a1a6ad882 fix-includes.patch
-f394c9ca2490f4450585966c7aad94bb9378341af15636ad2272996a671e44a312c543ff749a6afc960c14dc42de6ebfeb21122534577149ce0594f2338ab410 strverscmp.patch"
+89667704e357efc904ad16e2485bc35e7d99b1c978407db6363a207ade5d0bc68f7165d7a2a352bbba4e53812b3584c23fe6e5b0f981aa6333ec4eae27748d73 fix-dhcpcd.patch"