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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:40:41 UTC 2021


    Date: Friday, December 3, 2021 @ 00:40:41
  Author: felixonmars
Revision: 430553

archrelease: copy trunk to staging-any

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

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

Copied: scour/repos/staging-any/PKGBUILD (from rev 430552, scour/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-12-03 00:40:41 UTC (rev 430553)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=scour
+pkgver=0.38.2
+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=04bf3d79a0db6b60cf9e226a8cdb96fc216cd71f
+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