[arch-commits] Commit in python-gphoto2/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 04:13:59 UTC 2019
Date: Saturday, October 26, 2019 @ 04:13:57
Author: felixonmars
Revision: 519946
archrelease: copy trunk to community-staging-x86_64
Added:
python-gphoto2/repos/community-staging-x86_64/
python-gphoto2/repos/community-staging-x86_64/PKGBUILD
(from rev 519945, python-gphoto2/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-gphoto2/repos/community-staging-x86_64/PKGBUILD (from rev 519945, python-gphoto2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-26 04:13:57 UTC (rev 519946)
@@ -0,0 +1,25 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-gphoto2
+pkgver=2.0.0
+pkgrel=2
+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=('b18f1f7acccc084464153161554801f7a305b73c832359fc208b9d9008125f35')
+
+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