updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / pornview / PKGBUILD
blob549a79a1e77d3ba80022f3f55dad33d2c82b8bc6
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=pornview
4 pkgver=0.2.0pre1
5 pkgrel=3
6 pkgdesc="A lightweight image viewer."
7 url="http://sourceforge.net/projects/pornview"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 #depends=('gdk-pixbuf')
11 source=("http://ftp.debian.org/debian/pool/main/p/$pkgname/${pkgname}_${pkgver/.0}.orig.tar.gz"
12         "$pkgname-${pkgver/pre/_pre}-new-gtk-object-system.diff::http://bugs.gentoo.org/attachment.cgi?id=185914")
13 md5sums=('339fde6d7ff0cc1053abe951601373e6'
14          '886952d6fe1b792f57d0b6256714e6a0')
16 build() {
17  cd "$srcdir/$pkgname-$pkgver"
18  patch -p1 < "$srcdir/$pkgname-${pkgver/pre/_pre}-new-gtk-object-system.diff"
19  ./configure --prefix=/usr --with-gtk2
20  make
23 package() {
24  cd "$srcdir/$pkgname-$pkgver"
25  make DESTDIR="$pkgdir" install