diff options
author | root <root@rshg054.dnsready.net> | 2011-11-23 23:15:26 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-23 23:15:26 +0000 |
commit | 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch) | |
tree | 070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/fotoxx | |
parent | 851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff) |
Wed Nov 23 23:15:26 UTC 2011
Diffstat (limited to 'community/fotoxx')
-rw-r--r-- | community/fotoxx/PKGBUILD | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/community/fotoxx/PKGBUILD b/community/fotoxx/PKGBUILD index efa4b5a35..86e92123e 100644 --- a/community/fotoxx/PKGBUILD +++ b/community/fotoxx/PKGBUILD @@ -1,31 +1,26 @@ +# $Id: PKGBUILD 59254 2011-11-22 03:06:06Z ebelanger $ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + pkgname=fotoxx -pkgver=11.10 -pkgrel=1 +pkgver=11.11.1 +pkgrel=3 pkgdesc="A program for improving image files made with a digital camera" url="http://kornelix.squarespace.com/fotoxx" arch=('i686' 'x86_64') license=('GPL3') -depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils' 'desktop-file-utils') +depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils') optdepends=('mashup: for composing pages to print from within fotoxx' 'brasero: for burning') -source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz") -md5sums=('c312f980dab199f50fc76374d062135a') install=fotoxx.install +source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz") +md5sums=('c51f6682639bd7d2e5f1df4d03f09e53') build() { - cd $srcdir/$pkgname-$pkgver - sed -i 's+xdg-deskto+#xdg-deskto+' Makefile - make PREFIX=/usr \ - CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \ - LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`" - sed -i 's+^# ++' data/desktop - sed -i 's+@PREFIX@+/usr+' data/desktop + cd "$srcdir/$pkgname-$pkgver" + sed -e 's+xdg-deskto+#xdg-deskto+' -e 's/kornelix-//' -i Makefile + make PREFIX=/usr } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir PREFIX=/usr install - rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop - install -Dm644 data/desktop \ - $pkgdir/usr/share/applications/$pkgname.desktop + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" PREFIX=/usr install } |