summaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-ui/APKBUILD
blob: d2017c12f0daa7f9ffcf8e1dce48a99f25d72fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcpcd-ui
pkgver=0.6.0
pkgrel=0
pkgdesc="A GTK+ monitor and configuration GUI for dhcpcd"
url="http://roy.marples.name/projects/dhcpcd-ui"
arch="all"
license="BSD-2"
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"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" AUTOSTARTDIR=/etc/xdg/autostart install
}

md5sums="9c603d7cffbdaa62453f7620191c7286  dhcpcd-ui-0.6.0.tar.bz2"