aboutsummaryrefslogblamecommitdiffstats
path: root/main/dhcpcd-dbus/APKBUILD
blob: a611938e996604051ae526eb99841ebdc1ac980a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                                                      
                   
            
        
                                
                                              
          
                      
              
                      
                                                                            
                         
 






                                                                               
         



                                 
                               
                                   
                                              
            


           
                                      

 
                                                                                                                                                                       
                                                                                                                                                   
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=dhcpcd-dbus
pkgver=0.6.1
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/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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--rundir=/run \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/$pkgname
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ec110654115afedead094c6766877e7b3f5facbfec6778590d8aa3ceef777b183754fc077a10cf5c16b39c03e42d5948abd7c21e1d8a2d7fa376ec229bd75e6a  dhcpcd-dbus-0.6.1.tar.bz2
89667704e357efc904ad16e2485bc35e7d99b1c978407db6363a207ade5d0bc68f7165d7a2a352bbba4e53812b3584c23fe6e5b0f981aa6333ec4eae27748d73  fix-dhcpcd.patch"