[arch-commits] Commit in scour/repos/extra-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Aug 1 08:15:39 UTC 2018
Date: Wednesday, August 1, 2018 @ 08:15:39
Author: alucryd
Revision: 329911
archrelease: copy trunk to extra-any
Added:
scour/repos/extra-any/PKGBUILD
(from rev 329910, scour/trunk/PKGBUILD)
Deleted:
scour/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-01 08:15:31 UTC (rev 329910)
+++ PKGBUILD 2018-08-01 08:15:39 UTC (rev 329911)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgbase=scour
-pkgname=('scour' 'python2-scour')
-pkgver=0.36
-pkgrel=1
-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/extra-any/PKGBUILD (from rev 329910, scour/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-01 08:15:39 UTC (rev 329911)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=scour
+pkgname=('scour' 'python2-scour')
+pkgver=0.37
+pkgrel=2
+pkgdesc='An SVG scrubber'
+arch=('any')
+url='https://github.com/codedread/scour'
+license=('Apache')
+makedepends=('git' 'python-setuptools' 'python-six' 'python2-setuptools' 'python2-six')
+source=("git+https://github.com/scour-project/scour.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -r {,python-}scour
+ mv {,python2-}scour
+}
+
+build() {
+ for py in python{,2}; do
+ pushd ${py}-scour
+ ${py} setup.py build
+ popd
+ done
+}
+
+package_scour() {
+ depends=('python-setuptools' 'python-six')
+
+ cd python-scour
+
+ python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+}
+
+package_python2-scour() {
+ depends=('python2-six')
+
+ cd python2-scour
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+ rm -rf "${pkgdir}"/usr/bin
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list