Date: Wednesday, December 19, 2018 @ 23:26:03
  Author: bgyorgy
Revision: 416802

archrelease: copy trunk to community-any

Added:
  python-pyinsane/repos/
  python-pyinsane/repos/community-any/
  python-pyinsane/repos/community-any/PKGBUILD
    (from rev 416801, python-pyinsane/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-pyinsane/repos/community-any/PKGBUILD (from rev 416801, 
python-pyinsane/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD                                (rev 0)
+++ repos/community-any/PKGBUILD        2018-12-19 23:26:03 UTC (rev 416802)
@@ -0,0 +1,30 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=pyinsane
+pkgname=python-pyinsane
+pkgver=2.0.13
+pkgrel=1
+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
+}

Reply via email to