updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gnalert / PKGBUILD
blobf72120fa10fab532d094c58c9f928fabb5bb6e81
1 # Contributor: Evangelos Foutras <evangelos@foutrelis.com>
3 pkgname=gnalert
4 pkgver=1.2.0
5 pkgrel=7
6 pkgdesc="A simple notifier"
7 arch=('i686' 'x86_64')
8 url="http://github.com/foutrelis/gnalert"
9 license=('GPL')
10 depends=('pygtk' 'python2-dateutil' 'desktop-file-utils')
11 install=gnalert.install
12 source=(http://cloud.github.com/downloads/foutrelis/$pkgname/$pkgname-$pkgver.tar.gz
13         gnalert
14         gnalert.desktop)
15 sha256sums=('d4f6ee6969de27f56a84fa090066460cfff1e29765ef1f20f3bf59ee23ab9951'
16             '6d66bdab8881dc42a00251161b05b8a9333badd11df49369b007370237053fa2'
17             '9d2dbee8650ec0e2573268bea88aaf3962eff5ce077f0bfb220ffca58df800c8')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
22   mkdir -p "$pkgdir/usr/share"
23   cp -r src "$pkgdir/usr/share/gnalert"
24   chmod -x "$pkgdir/usr/share/gnalert/gnalert.py"
25   install -D -m644 "$srcdir/gnalert.desktop" "$pkgdir/usr/share/applications/gnalert.desktop"
26   install -D -m755 "$srcdir/gnalert" "$pkgdir/usr/bin/gnalert"
29 # vim:set ts=2 sw=2 et: