blob: 79c0d98c62fcf5909794938059ca62c08ffad9f6 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Eduardo Romero <eduardo@archlinux.org>
# Maintainer: Valère Monseur <valere dot monseur at ymail dot com>
pkgname=gtkam
pkgver=0.2.0
pkgrel=2
pkgdesc="A graphical GTK front-end to gphoto2"
url="http://gphoto.sourceforge.net/proj/gtkam/"
arch=('i686' 'x86_64')
depends=('libgphoto2>=2.5.0' 'libexif-gtk' 'gdk-pixbuf2' 'libpng')
makedepends=('gimp' 'intltool')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/gphoto/${pkgname}-${pkgver}.tar.gz
gtkam1.patch
gtkam2.patch
gtkam3.patch
gtkam4.patch)
md5sums=('cbec9eb6ac36b9bedaa5762392ee54bc'
'eef28ce7fceb27f92c08d5c59a75331d'
'7c28b263ec83e70b2a96c3b110483727'
'd703b0fabdd4d7d81a4fcd294d937c34'
'1bd50bdaa806ff74435781745b55962d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/gtkam1.patch"
patch -p1 -i "${srcdir}/gtkam2.patch"
patch -p1 -i "${srcdir}/gtkam3.patch"
patch -p1 -i "${srcdir}/gtkam4.patch"
# needed as patches modify the autotools files
autoreconf
./configure --prefix=/usr --sysconfdir=/etc \
--without-bonobo --without-gnome \
--disable-scrollkeeper
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
sed -i -e 's/^_//' "${pkgdir}/usr/share/applications/gtkam.desktop"
}
|