aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-dbus/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-05 15:10:16 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 18:47:38 +0000
commit4986033b6fb8abd6f28f0529cad733feae401978 (patch)
treef3d8a201cd4abd4c308dcf6b9263cc33d8e8eebb /main/dhcpcd-dbus/APKBUILD
parent119ede639595d49cbe4447243d8a9a5c1ff047ca (diff)
downloadaports-4986033b6fb8abd6f28f0529cad733feae401978.tar.gz
aports-4986033b6fb8abd6f28f0529cad733feae401978.tar.bz2
aports-4986033b6fb8abd6f28f0529cad733feae401978.tar.xz
main/dhcpcd-dbus: modernize, fix homepage, fix url
Diffstat (limited to 'main/dhcpcd-dbus/APKBUILD')
-rw-r--r--main/dhcpcd-dbus/APKBUILD29
1 files changed, 6 insertions, 23 deletions
diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD
index c22d53b2ce..7536c0f8f0 100644
--- a/main/dhcpcd-dbus/APKBUILD
+++ b/main/dhcpcd-dbus/APKBUILD
@@ -2,49 +2,32 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=dhcpcd-dbus
pkgver=0.6.1
-pkgrel=3
+pkgrel=4
pkgdesc="DBUS binding to dhcpcd"
-url="https://roy.marples.name/projects/dhcpcd-dbus"
+url="https://roy.marples.name/projects/dhcpcd"
arch="all"
-license="BSD"
+license="BSD-2-Clause"
depends="dbus"
makedepends="dbus-dev"
-install=
-subpackages=
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
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--rundir=/run \
--sysconfdir=/etc \
- --libexecdir=/usr/lib/$pkgname \
- || return 1
+ --libexecdir=/usr/lib/$pkgname
make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}
-md5sums="3e0762be2f2336dceebaa319f388c8dd dhcpcd-dbus-0.6.1.tar.bz2
-75fa69816c4e4c70ac3215096dd02d6c fix-dhcpcd.patch"
-sha256sums="cdb03f21fa2d37be8804d3aba80012ad0735131e263f05bc44c36f5f13d70a06 dhcpcd-dbus-0.6.1.tar.bz2
-51c693f0f4d31627cb2001c4d2b644ad57de2cdbd52d8d6d30f93f27537787bd fix-dhcpcd.patch"
sha512sums="ec110654115afedead094c6766877e7b3f5facbfec6778590d8aa3ceef777b183754fc077a10cf5c16b39c03e42d5948abd7c21e1d8a2d7fa376ec229bd75e6a dhcpcd-dbus-0.6.1.tar.bz2
89667704e357efc904ad16e2485bc35e7d99b1c978407db6363a207ade5d0bc68f7165d7a2a352bbba4e53812b3584c23fe6e5b0f981aa6333ec4eae27748d73 fix-dhcpcd.patch"