blob: 548f07735e73cda60e1d93d82574e8315a0ba889 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fotoxx
pkgver=11.08.1
pkgrel=1
pkgdesc="A program for improving image files made with a digital camera"
url="http://kornelix.squarespace.com/fotoxx"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils' 'desktop-file-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")
install=fotoxx.install
md5sums=('95aab93caf87dc24e5e6dd9abef2bc73')
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 's+^# ++' data/desktop
sed -i 's+@PREFIX@+/usr+' 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
}
|