diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-09 18:30:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-09 18:30:36 +0000 |
commit | 5ca6f376dbfcb2b42bd51fd43c61fbff8ff83c70 (patch) | |
tree | 72e8c809cdcda757db4c46b3e4fe3aed5e5a2f26 /testing/libgphoto2 | |
parent | 8180e36ca78b08eb9d8dcca07bf495a616afca9f (diff) | |
download | aports-5ca6f376dbfcb2b42bd51fd43c61fbff8ff83c70.tar.bz2 aports-5ca6f376dbfcb2b42bd51fd43c61fbff8ff83c70.tar.xz |
testing/libgphoto2: create camera group
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 da6c6fc0a..d33d2ba5d 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 000000000..a7d31448b --- /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 000000000..ad0ee4f36 --- /dev/null +++ b/testing/libgphoto2/libgphoto2.pre-upgrade @@ -0,0 +1 @@ +libgphoto2.pre-upgrade
\ No newline at end of file |