summaryrefslogtreecommitdiff
path: root/community/fotoxx
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-02 22:32:52 +0000
committerroot <root@rshg047.dnsready.net>2011-05-02 22:32:52 +0000
commitddb2605f6bccbdb398f3937ff21e4688915a450d (patch)
tree2ff19812d00e0d9e891b2b40e43bb7a2f7cb2371 /community/fotoxx
parent3be02a9acbeb006d9a9e6136c54d91064cc7d80e (diff)
Mon May 2 22:32:52 UTC 2011
Diffstat (limited to 'community/fotoxx')
-rw-r--r--community/fotoxx/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/fotoxx/PKGBUILD b/community/fotoxx/PKGBUILD
index 96bb1cbc2..ce6815552 100644
--- a/community/fotoxx/PKGBUILD
+++ b/community/fotoxx/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fotoxx
-pkgver=11.04
-pkgrel=4
+pkgver=11.05
+pkgrel=1
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=('gtk2' 'gimp-ufraw' 'perl-exiftool' 'xdg-utils')
+depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils')
optdepends=('mashup: for printing from within fotoxx' 'brasero: for burning')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
-md5sums=('4b90ca45375d7502a98f6ce556a1d9b7')
+md5sums=('8c970b43716ddcf6ee7d5cd15ca37d44')
replaces=('fotox')
build() {
@@ -17,13 +17,14 @@ build() {
make PREFIX=/usr \
CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \
LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`"
- sed -i 's#/local##' desktop
- sed -i 's+^# ++' desktop
+ sed -i '8,9d' data/desktop
}
package() {
cd $srcdir/$pkgname-$pkgver
- install -Dm644 desktop \
+ install -Dm644 data/desktop \
$pkgdir/usr/share/applications/$pkgname.desktop
- make DESTDIR=$pkgdir PREFIX=/usr install
+ make MENUFILE1=$pkgdir/usr/share/applications/$pkgname.desktop \
+ DESTDIR=$pkgdir PREFIX=/usr install
+rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop
}