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 | |
parent | 8180e36ca78b08eb9d8dcca07bf495a616afca9f (diff) | |
download | aports-5ca6f376dbfcb2b42bd51fd43c61fbff8ff83c70.tar.bz2 aports-5ca6f376dbfcb2b42bd51fd43c61fbff8ff83c70.tar.xz |
testing/libgphoto2: create camera group
Diffstat (limited to 'testing')
-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 |