aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-02-08 00:08:45 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-02-08 03:30:06 +0000
commit948742911d9c44c3be89ce918520970acdd18897 (patch)
treea4ca20e755065d68fe1aad2d9fc20dbe4bea2e56
parent187fe7b33e781dd7a77d69c62ab7b958aa304b65 (diff)
downloadaports-948742911d9c44c3be89ce918520970acdd18897.tar.gz
aports-948742911d9c44c3be89ce918520970acdd18897.tar.bz2
aports-948742911d9c44c3be89ce918520970acdd18897.tar.xz
main/dhcpcd-dbus: fix location of dbus configuration
-rw-r--r--main/dhcpcd-dbus/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD
index 7536c0f8f0..a611938e99 100644
--- a/main/dhcpcd-dbus/APKBUILD
+++ b/main/dhcpcd-dbus/APKBUILD
@@ -2,18 +2,24 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=dhcpcd-dbus
pkgver=0.6.1
-pkgrel=4
+pkgrel=5
pkgdesc="DBUS binding to dhcpcd"
url="https://roy.marples.name/projects/dhcpcd"
arch="all"
license="BSD-2-Clause"
depends="dbus"
makedepends="dbus-dev"
-source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2
+source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2
fix-dhcpcd.patch"
+prepare() {
+ default_prepare
+ # Fix location of dbus configuration
+ sed -e 's|${SYSCONFDIR}/dbus-1/system.d|/usr/share/dbus-1/system.d|g' \
+ -i Makefile
+}
+
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -25,7 +31,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}