updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gx / PKGBUILD
blob9286ae3de3be8c7c14d76e4896391ab87f333e27
1 # Contributor: rabyte <rabyte__gmail>
3 pkgname=gx
4 pkgver=0.4.0
5 pkgrel=3
6 pkgdesc="A lightweight GTK+ image viewer"
7 arch=('i686')
8 url="http://perticone.homelinux.net/~sergio/c++/gx/"
9 license=('custom:"gx"')
10 depends=('gtkmm>=2.10' 'gnome-vfsmm>=2.18' 'gconfmm>=2.16')
11 makedepends=('pkgconfig')
12 source=(http://perticone.homelinux.net/~sergio/c++/gx/src/gx-$pkgver.tar.gz)
13 md5sums=('4aacbf154469a19cda1c29cfa6338082')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   ./configure --prefix=/usr
18   make || return 1
19   make DESTDIR=$startdir/pkg install
20   install -m644 -D COPYING $startdir/pkg/usr/share/licenses/gx/COPYING
21   cd $startdir/pkg/usr/share
22   install -m644 -D app-install/desktop/gx.desktop applications/gx.desktop
24   # remove junk
25   rm -rf app-install/