[arch-commits] Commit in python-sane/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 05:00:20 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:00:19
Author: felixonmars
Revision: 749223
archrelease: copy trunk to community-staging-x86_64
Added:
python-sane/repos/community-staging-x86_64/
python-sane/repos/community-staging-x86_64/PKGBUILD
(from rev 749222, python-sane/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-sane/repos/community-staging-x86_64/PKGBUILD (from rev 749222, python-sane/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-10 05:00:19 UTC (rev 749223)
@@ -0,0 +1,24 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-sane
+pkgver=2.8.3
+pkgrel=5
+pkgdesc="Python interface to the SANE scanner and frame grabber."
+arch=('x86_64')
+url="https://python-sane.readthedocs.io/en/latest/"
+license=('MIT')
+depends=('sane' 'python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-pillow/Sane/archive/v${pkgver}.tar.gz")
+sha256sums=('1c3aa1c246007e9e6f7b11ca2c98256ebefed66f4ff13dcf38179c721677022f')
+
+build() {
+ cd "${srcdir}"/Sane-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}"/Sane-${pkgver}
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list