blob: abb952011d58e68d5bdb6d40300b8ae3652dbdcd (
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: Brian Bidulock <bidulock@openss7.org>
# Contributor: lth <manuelung@gmail.com>
# Contributor: nizox <nizzox@gmail.com>
pkgname=dhcpcd-ui
pkgver=0.7.9
pkgrel=2
pkgdesc="dhcpcd Monitor in GTK+"
url="http://roy.marples.name/projects/dhcpcd-ui"
license=(BSD-2-Clause)
depends=("gtk2" "libnotify" "hicolor-icon-theme")
makedepends=("python-cairosvg" "python-xcffib")
#source=(http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.xz)
source=("https://github.com/NetworkConfiguration/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
arch=(i686 x86_64)
md5sums=('e3b0b1506688c71742a65a76c740a0e0')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --without-qt
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir/" AUTOSTARTDIR=/etc/xdg/autostart ICONDIR=/usr/share/icons install
install -d "$pkgdir/usr/share/licenses/$pkgname"
sed -n '1,/^$/p' src/dhcpcd-gtk/main.c \
>"$pkgdir/usr/share/licenses/$pkgname/license.txt"
}
|