1 # Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
2 # Contributor: TDY <tdy@gmx.com>
3 # Contributor: Loya Liu <loya.liu@gmail.com>
4 # Contributor: Kristaps Esterlins <esterlinsh@gmail.com>
9 pkgdesc="Advanced color picker written in C++ using GTK+ toolkit"
10 arch=('i686' 'x86_64')
11 url="http://gpick.googlecode.com/"
13 depends=('dbus-glib>=0.76' 'gtk2>=2.12.0' 'hicolor-icon-theme' 'lua>=5.1')
14 makedepends=('scons' 'boost' 'flex' 'lemon')
15 install=$pkgname.install
16 source=(http://$pkgname.googlecode.com/files/${pkgname}_$pkgver.tar.gz
17 $pkgname.desktop LICENSE)
18 md5sums=('914bdfbce2cd2f6d887d468bd2b4805c'
19 '9bcf9591e2ff77dc34db093410aadb00'
20 'a10a78fc5ebc11c552af2e459bb6b76d')
23 cd "$srcdir/${pkgname}_$pkgver"
28 cd "$srcdir/$pkgname_$pkgver"
29 scons DESTDIR="$pkgdir/usr" install
30 install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31 install -Dm644 ../$pkgname.desktop \
32 "$pkgdir/usr/share/applications/$pkgname.desktop"