diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-02-18 19:52:46 +0000 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-19 22:12:36 +0100 |
commit | f8a0593fbe2fee420d567a4433d1682069448eba (patch) | |
tree | 998cdf759f7871dcd8ee4e91f872333b64a51d5b /main/gphoto2 | |
parent | 3fb60fe51de3f37d095e0720410fce673a337408 (diff) | |
download | aports-f8a0593fbe2fee420d567a4433d1682069448eba.tar.bz2 aports-f8a0593fbe2fee420d567a4433d1682069448eba.tar.xz |
main/gphoto2: upgrade to 2.5.15 and modernize
Diffstat (limited to 'main/gphoto2')
-rw-r--r-- | main/gphoto2/APKBUILD | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/main/gphoto2/APKBUILD b/main/gphoto2/APKBUILD index 27e36b7aa4..d42ba6cfd8 100644 --- a/main/gphoto2/APKBUILD +++ b/main/gphoto2/APKBUILD @@ -1,32 +1,20 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gphoto2 -pkgver=2.5.14 +pkgver=2.5.15 pkgrel=0 -pkgdesc="commandline utilities for accessing cameras" +pkgdesc="Commandline utilities for accessing cameras" url="http://www.gphoto.org/" arch="all" license="GPL" -depends="" -depends_dev="" makedepends="libgphoto2-dev popt-dev gettext-dev libjpeg-turbo-dev libtool" -install="" subpackages="$pkgname-lang $pkgname-doc" source="https://sourceforge.net/projects/gphoto/files/gphoto/$pkgver/gphoto2-$pkgver.tar.bz2" -_builddir="$srcdir"/gphoto2-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,14 +22,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="47cb0d212673c9c0dbc996e0a67191a307599c844293a67184bd1529d9e3b417e154c6de64f4563f6f7e599a1bd6b127266f85f5baa97bd7d86922405bf45331 gphoto2-2.5.14.tar.bz2" +sha512sums="46058a12a81379f3311911e103cf934b6eb616d7f81180615b385d01e855bf6ce998eb12811b9d032328ebed6acfc4456f3a383cfedb93c6967c9699654d4f40 gphoto2-2.5.15.tar.bz2" |