blob: 7b38b868065c56ff0bd6a329a72172149eec7dda (
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
31
32
33
34
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Enrico Morelli <morelli@cerm.unifi.it>
pkgname=flphoto
pkgver=1.3.1
pkgrel=7
pkgdesc="Basic image management and display program based on the FLTK toolkit"
arch=('i686' 'x86_64')
url="http://www.easysw.com/~mike/flphoto/"
license=('GPL')
depends=('fltk' 'libgphoto2' 'libcups')
source=("http://downloads.sourceforge.net/sourceforge/fltk/$pkgname-$pkgver-source.tar.gz"
"fixes.patch"
"flphoto.desktop")
md5sums=('5e02353cadfc07250731f34f24e83866'
'9664ac1af80f9871a9c17bb72dd019b4'
'c8a81fe1ba9708d85c29972ad28057fd')
prepare() {
cd $pkgname-$pkgver
patch -Np2 -b -z .orig -i ../fixes.patch
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make espmsg
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm0644 "doc/flphoto.png" "$pkgdir/usr/share/pixmaps/flphoto.png"
install -Dm0644 "$srcdir/flphoto.desktop" "$pkgdir/usr/share/applications/flphoto.desktop"
}
|