summaryrefslogtreecommitdiff
path: root/community/fotoxx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fotoxx/PKGBUILD')
-rw-r--r--community/fotoxx/PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/community/fotoxx/PKGBUILD b/community/fotoxx/PKGBUILD
index ebc7bf983..cf0b1ccfa 100644
--- a/community/fotoxx/PKGBUILD
+++ b/community/fotoxx/PKGBUILD
@@ -1,30 +1,29 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fotoxx
-pkgver=11.05.1
+pkgver=11.06
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=('gimp-ufraw' 'perl-exiftool' 'xdg-utils')
+depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils' 'desktop-file-utils')
optdepends=('mashup: for printing from within fotoxx' 'brasero: for burning')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
-md5sums=('27e1501ec6426286bc1da935fd2fa7e9')
-replaces=('fotox')
+md5sums=('e636e10f6a46f0a813e704f18eac3176')
+install=fotoxx.install
build() {
cd $srcdir/$pkgname-$pkgver
make PREFIX=/usr \
CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \
LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`"
- sed -i '8,9d' data/desktop
+ sed -i 's+^# ++' data/desktop
}
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
- make MENUFILE1=$pkgdir/usr/share/applications/$pkgname.desktop \
- DESTDIR=$pkgdir PREFIX=/usr install
-rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop
+ $pkgdir/usr/share/applications/$pkgname.desktop
}