updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gpick / PKGBUILD
blob80c6a0187a4711dbb21a97e2d836143259ec7177
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>
6 pkgname=gpick
7 pkgver=0.2.3
8 pkgrel=1
9 pkgdesc="Advanced color picker written in C++ using GTK+ toolkit"
10 arch=('i686' 'x86_64')
11 url="http://gpick.googlecode.com/"
12 license=('BSD')
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')
22 build() {
23   cd "$srcdir/${pkgname}_$pkgver"
24   scons
27 package() {
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"