diff options
Diffstat (limited to 'testing/libgphoto2')
-rw-r--r-- | testing/libgphoto2/APKBUILD | 4 | ||||
-rw-r--r-- | testing/libgphoto2/libgphoto2.pre-install | 6 | ||||
l--------- | testing/libgphoto2/libgphoto2.pre-upgrade | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/testing/libgphoto2/APKBUILD b/testing/libgphoto2/APKBUILD index da6c6fc0aa..d33d2ba5d2 100644 --- a/testing/libgphoto2/APKBUILD +++ b/testing/libgphoto2/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libgphoto2 pkgver=2.4.10.1 -pkgrel=0 +pkgrel=1 pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs." url="http://www.gphoto.org" arch="all" @@ -9,7 +9,7 @@ license="LGPL" depends="" depends_dev="libexif-dev libusb-compat-dev" makedepends="libexif-dev jpeg-dev libtool libusb-compat-dev libiconv-dev" -install= +install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2" diff --git a/testing/libgphoto2/libgphoto2.pre-install b/testing/libgphoto2/libgphoto2.pre-install new file mode 100644 index 0000000000..a7d31448b8 --- /dev/null +++ b/testing/libgphoto2/libgphoto2.pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +if ! getent group camera >/dev/null; then + addgroup -S camera +fi + diff --git a/testing/libgphoto2/libgphoto2.pre-upgrade b/testing/libgphoto2/libgphoto2.pre-upgrade new file mode 120000 index 0000000000..ad0ee4f36d --- /dev/null +++ b/testing/libgphoto2/libgphoto2.pre-upgrade @@ -0,0 +1 @@ +libgphoto2.pre-upgrade
\ No newline at end of file |