[arch-commits] Commit in scour/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:03:13 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:03:13
  Author: foutrelis
Revision: 400604

archrelease: copy trunk to staging-any

Added:
  scour/repos/staging-any/
  scour/repos/staging-any/PKGBUILD
    (from rev 400603, scour/trunk/PKGBUILD)

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

Copied: scour/repos/staging-any/PKGBUILD (from rev 400603, scour/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-11-12 17:03:13 UTC (rev 400604)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=scour
+pkgver=0.38.1
+pkgrel=2
+pkgdesc='An SVG scrubber'
+arch=(any)
+url=https://github.com/scour-project/scour
+license=(Apache)
+depends=(
+  python-six
+)
+makedepends=(
+  git
+  python-setuptools
+)
+_tag=23835da44a11fcdbb877f11870ffc442f268352c
+source=(git+https://github.com/scour-project/scour.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd scour
+
+  git describe --tags | sed -r 's/^v//; s/^0([0-9])/0.\1/'
+}
+
+build() {
+  cd scour
+  python setup.py build
+}
+
+package() {
+  cd scour
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list