summaryrefslogtreecommitdiff
path: root/extra/gphoto2/PKGBUILD
blob: b8e7fdc69a16a1d1b99045c6f6ad2d8a13efa6e5 (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
# $Id: PKGBUILD 179980 2013-03-13 20:13:10Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Eduardo Romero <eduardo@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=gphoto2
pkgver=2.5.1
pkgrel=1
pkgdesc="A digital camera download and access program."
arch=(i686 x86_64 'mips64el')
url="http://www.gphoto.org"
license=('GPL' 'LGPL')
depends=('libgphoto2' 'popt' 'readline')
source=(http://downloads.sourceforge.net/gphoto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('03cda6d5b7c647ac4c90d0081f2cb7c7')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}