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

Maxime Gauduin alucryd at archlinux.org
Tue Jul 31 20:51:38 UTC 2018


    Date: Tuesday, July 31, 2018 @ 20:51:37
  Author: alucryd
Revision: 329880

archrelease: copy trunk to testing-any

Added:
  scour/repos/testing-any/PKGBUILD
    (from rev 329879, scour/trunk/PKGBUILD)
Deleted:
  scour/repos/testing-any/PKGBUILD

----------+
 PKGBUILD |   74 +++++++++++++++++++++++--------------------------------------
 1 file changed, 28 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-31 20:51:30 UTC (rev 329879)
+++ PKGBUILD	2018-07-31 20:51:37 UTC (rev 329880)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgbase=scour
-pkgname=('scour' 'python2-scour')
-pkgver=0.36
-pkgrel=2
-pkgdesc='An SVG scrubber'
-arch=('any')
-url='https://github.com/codedread/scour'
-license=('Apache')
-makedepends=('python-setuptools' 'python-six' 'python2-setuptools' 'python2-six')
-source=("scour-${pkgver}.tar.gz::https://github.com/codedread/scour/archive/v${pkgver}.tar.gz")
-sha256sums=('1b6820430c671c71406bf79afced676699d03bd3fcc65f01a651da5dcbcf3d3b')
-
-prepare() {
-  cp -r {,python-}scour-${pkgver}
-  mv {,python2-}scour-${pkgver}
-}
-
-build() {
-  for py in python{,2}; do
-    pushd ${py}-scour-${pkgver}
-    ${py} setup.py build
-    popd
-  done
-}
-
-package_scour() {
-  depends=('python-setuptools' 'python-six')
-
-  cd python-scour-${pkgver}
-
-  python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
-}
-
-package_python2-scour() {
-  depends=('python2-six')
-
-  cd python2-scour-${pkgver}
-
-  python2 setup.py install --root="${pkgdir}" --optimize='1' --skip-build
-  rm -rf "${pkgdir}"/usr/bin
-}
-
-# vim: ts=2 sw=2 et:

Copied: scour/repos/testing-any/PKGBUILD (from rev 329879, scour/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-31 20:51:37 UTC (rev 329880)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=scour
+pkgver=0.37
+pkgrel=1
+pkgdesc='An SVG scrubber'
+arch=('any')
+url='https://github.com/codedread/scour'
+license=('Apache')
+depends=('python-setuptools' 'python-six')
+makedepends=('git')
+source=("git+https://github.com/scour-project/scour.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+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