updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / gcounter / PKGBUILD
blob96a5fd13f032b121727ea3ddefba0185527416ed
1 #Contributor: MiddleofDreams <middleofdreams at gmail dot com>
2 pkgname=gcounter
3 pkgver=1.0rc3
4 pkgrel=2
5 pkgdesc="GCounter is a small utility that allows you suspend/shutdown/reboot your computer at specific time."
6 arch=('i686' 'x86_64')
7 url="http://middleofdreams.wordpress.com/gcounter"
8 license=('GPL')
9 depends=('python2' 'pygtk' 'gtk2')
10 makedepends=()
11 optdepends=('python-notify: for notifications support')
12 source=(http://cloud.github.com/downloads/middleofdreams/$pkgname/$pkgname-$pkgver.tar.bz2 $pkgname.bin $pkgname.desktop)
13 md5sums=('d855abbe8dc2ae4f9f5e4993300beb36'
14          'f64292c0ddd732abadef119fece85169'
15          '6e687ebbb144c67f323d9964b966519e')
16          
17 build() {
18         ls $srcdir/$pkgname
19   install -d $pkgdir/usr/{bin/,share/applications,share/gcounter}
21         install -Dm755 $srcdir/$pkgname.bin $pkgdir/usr/bin/$pkgname
22         install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/
23         cp -r $srcdir/$pkgname/ $pkgdir/usr/share/
24