[arch-commits] Commit in python-pyinsane/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 08:16:58 UTC 2019
Date: Monday, November 4, 2019 @ 08:16:57
Author: felixonmars
Revision: 523657
archrelease: copy trunk to community-staging-any
Added:
python-pyinsane/repos/community-staging-any/
python-pyinsane/repos/community-staging-any/PKGBUILD
(from rev 523656, python-pyinsane/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pyinsane/repos/community-staging-any/PKGBUILD (from rev 523656, python-pyinsane/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 08:16:57 UTC (rev 523657)
@@ -0,0 +1,30 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=pyinsane
+pkgname=python-pyinsane
+pkgver=2.0.13
+pkgrel=2
+pkgdesc="Python library to access and use image scanners"
+arch=(any)
+url="https://gitlab.gnome.org/World/OpenPaperwork/pyinsane"
+license=(GPL3)
+depends=(python-pillow sane)
+makedepends=(git python-setuptools)
+_commit=3e509e6bdd2c07ac715cfc27946f86123744a46e # tags/2.0.13^0
+source=("git+https://gitlab.gnome.org/World/OpenPaperwork/pyinsane.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ cd $_pkgname
+ make
+}
+
+package() {
+ cd $_pkgname
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list