blob: 748de5708ba93702cae7ee7e8c85354eec91c9ab (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcpcd-ui
pkgver=0.7.3
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"
install=
subpackages="$pkgname-doc"
source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2
"
_builddir="$srcdir"/dhcpcd-ui-$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"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" AUTOSTARTDIR=/etc/xdg/autostart install
}
md5sums="6cd085cdf7f9c2bd9b98029edc1d712c dhcpcd-ui-0.7.3.tar.bz2"
sha256sums="fd69dfe988c7ab9222c40e24857d0be7a4265ef8c403dbbb8aeb310b3c71b0b2 dhcpcd-ui-0.7.3.tar.bz2"
sha512sums="4fe39466ce222bd04726a3b9cc20259e24977848a0ca1448940bcf492c474d8243e5686b56ad311d2c37309573f19a6cd0539025113de6ed457b5a627a402426 dhcpcd-ui-0.7.3.tar.bz2"
|