PKGBUILDs/extra/gphoto2/PKGBUILD
2009-10-09 21:23:22 -05:00

20 lines
658 B
Bash

# $Id: PKGBUILD 44319 2009-07-01 15:05:21Z allan $
# Maintainer: Eduardo Romero <eduardo@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=gphoto2
pkgver=2.4.5
pkgrel=3
pkgdesc="A digital camera download and access program."
arch=(i686 x86_64)
url="http://www.gphoto.org"
license=('GPL' 'LGPL')
depends=('libgphoto2>=2.4.6-2' 'popt' 'aalib' 'readline>=6.0')
source=(http://downloads.sourceforge.net/gphoto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('cccbe437804c863b87807444ec58a8ac')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}