[arch-commits] Commit in python-gphoto2 (3 files)
Balló György
bgyorgy at archlinux.org
Wed Sep 12 17:55:42 UTC 2018
Date: Wednesday, September 12, 2018 @ 17:55:41
Author: bgyorgy
Revision: 379877
archrelease: copy trunk to community-x86_64
Added:
python-gphoto2/repos/
python-gphoto2/repos/community-x86_64/
python-gphoto2/repos/community-x86_64/PKGBUILD
(from rev 379876, python-gphoto2/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-gphoto2/repos/community-x86_64/PKGBUILD (from rev 379876, python-gphoto2/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2018-09-12 17:55:41 UTC (rev 379877)
@@ -0,0 +1,24 @@
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-gphoto2
+pkgver=1.8.3
+pkgrel=1
+pkgdesc="Python interface to libgphoto2"
+arch=('x86_64')
+url="https://github.com/jim-easterbrook/python-gphoto2"
+license=('GPL3')
+depends=('libgphoto2' 'python')
+makedepends=('swig')
+source=($pkgname-$pkgver.tar.gz::https://github.com/jim-easterbrook/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('53c23332fb00cf3ec4d4aed75f53a63c7fe36d0807f93fba10224bcb5016d33f')
+
+build() {
+ cd $pkgname-$pkgver
+ python setup.py build_swig
+ python setup.py build
+}
+
+package(){
+ cd $pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list