updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / killswitch-manager / PKGBUILD
blobaa65aae764fe603a616c83a187f4bd4d1b52fe4f
1 # Contributor: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
2 pkgname=killswitch-manager
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="This applet controls killswitches and enables you to turn off or on radio devices."
6 arch=(i686 x86_64)
7 url="http://qt-apps.org/content/show.php/Killswitch-Manager?content=121359"
8 license=('GPL')
9 depends=(qt)
10 source=(http://qt-apps.org/CONTENT/content-files/121359-$pkgname-$pkgver.src.tar.bz killswitch-manager.desktop killswitch.png)
11 md5sums=('a48c81edeab4d068cb037107610c9ca1'
12          '1a7ef3c4cb202af1f8014590e35faf9e'
13          '92782f74ddf2c61a1081b19d3bc0dac2')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   qmake
19   make || return 1
20   mkdir -p "$pkgdir/usr/bin"
21   cp killswitch-manager "$pkgdir/usr/bin" || return 1
22   mkdir -p "$pkgdir/usr/share/pixmaps"
23   cp "$srcdir/killswitch.png" "$pkgdir/usr/share/pixmaps" || return 1
24   mkdir -p "$pkgdir/usr/share/applications"
25   cp "$srcdir/killswitch-manager.desktop" "$pkgdir/usr/share/applications" || return 1
28 # vim:set ts=2 sw=2 et: