summaryrefslogtreecommitdiff
path: root/community/gpicview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gpicview/PKGBUILD')
-rw-r--r--community/gpicview/PKGBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/community/gpicview/PKGBUILD b/community/gpicview/PKGBUILD
index 7abcc842a..79e692e2b 100644
--- a/community/gpicview/PKGBUILD
+++ b/community/gpicview/PKGBUILD
@@ -1,32 +1,27 @@
-# $Id: PKGBUILD 96672 2013-09-02 21:26:05Z bgyorgy $
+# $Id: PKGBUILD 99073 2013-10-24 08:15:59Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
pkgname=gpicview
-pkgver=0.2.3
-pkgrel=2
-pkgdesc="lightweight image viewer"
+pkgver=0.2.4
+pkgrel=1
+pkgdesc='Lightweight image viewer'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
-url="http://lxde.org/"
+url='http://lxde.org/'
groups=('lxde')
-depends=('gtk2' 'desktop-file-utils')
+depends=('gtk2' 'desktop-file-utils' 'xdg-utils')
install=$pkgname.install
makedepends=('pkgconfig' 'intltool')
optdepends=('librsvg: For SVG support')
-source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz
- fix-scrolling.patch)
-md5sums=('bca9ffe1d283ed3dbb13bada7feb7e89'
- 'f258a3e703c4daa2f79c0c9f5a625d86')
+source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz)
+md5sums=('b209e36531f89c48e3067b389699d4c7')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # Fix scrolling (FS#34872)
- patch -Np1 -i "$srcdir/fix-scrolling.patch"
+ cd $pkgname-$pkgver
- # Apply one main category only (FS#34684)
+ # Apply only one main category (FS#34684)
sed -i '/^Categories=/ s/Utility;//' gpicview.desktop.in
}
@@ -38,6 +33,6 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}