PKGBUILDs/extra/gtkam/PKGBUILD

25 lines
761 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: $
# Maintainer: Eduardo Romero <eduardo@archlinux.org>
pkgname=gtkam
pkgver=0.1.16.1
pkgrel=1
pkgdesc="A graphical front-end to gPhoto for GNOME"
url="http://gphoto.sourceforge.net/proj/gtkam/"
arch=('i686' 'x86_64')
depends=('libgphoto2>=2.4.6' 'libexif-gtk')
makedepends=('gimp')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/gphoto/$pkgname-$pkgver.tar.gz)
md5sums=('a701a26947e134d883ba8eef0beb7461')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--without-bonobo --without-gnome \
--disable-scrollkeeper || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
sed -i -e 's/^_//' "${pkgdir}/usr/share/applications/gtkam.desktop" || return 1
}