[arch-commits] Commit in scour/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Aug 18 06:38:00 UTC 2020
Date: Tuesday, August 18, 2020 @ 06:38:00
Author: alucryd
Revision: 394356
upgpkg: scour 0.38-1
Modified:
scour/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-17 23:28:17 UTC (rev 394355)
+++ PKGBUILD 2020-08-18 06:38:00 UTC (rev 394356)
@@ -1,17 +1,29 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=scour
-pkgver=0.37
-pkgrel=5
+pkgver=0.38
+pkgrel=1
pkgdesc='An SVG scrubber'
-arch=('any')
-url='https://github.com/codedread/scour'
-license=('Apache')
-depends=('python-setuptools' 'python-six')
-makedepends=('git' 'python-setuptools' 'python-six')
-source=("git+https://github.com/scour-project/scour.git#tag=v${pkgver}")
-sha256sums=('SKIP')
+arch=(any)
+url=https://github.com/scour-project/scour
+license=(Apache)
+depends=(
+ python-six
+)
+makedepends=(
+ git
+ python-setuptools
+)
+_commit=c84731e12d4af0e219c4389434ed68f6708d8c33
+source=(git+https://github.com/scour-project/scour.git#commit=${_commit})
+sha256sums=(SKIP)
+pkgver() {
+ cd scour
+
+ git describe --tags | sed 's/^v//'
+}
+
build() {
cd scour
python setup.py build
@@ -19,7 +31,7 @@
package() {
cd scour
- python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list