[arch-commits] Commit in python-svg.path/repos (community-any community-any/PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Dec 6 14:09:33 UTC 2020
Date: Sunday, December 6, 2020 @ 14:09:32
Author: jelle
Revision: 771030
archrelease: copy trunk to community-any
Added:
python-svg.path/repos/community-any/
python-svg.path/repos/community-any/PKGBUILD
(from rev 771029, python-svg.path/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-svg.path/repos/community-any/PKGBUILD (from rev 771029, python-svg.path/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-12-06 14:09:32 UTC (rev 771030)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-svg.path
+pkgver=4.0.2
+pkgrel=1
+url="https://github.com/regebro/svg.path"
+license=('MIT')
+depends=(python)
+makedepends=(python-setuptools)
+arch=(any)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/regebro/svg.path/archive/${pkgver}.tar.gz)
+sha512sums=('0659c3d012b81cca83306c2895480bcc770cf23f4fc98dc4f167b6799a9c5618a90aabd81e2c91e6b7c57998d42f04a47d8f0fa966546111cd165127df239510')
+
+build() {
+ cd "svg.path-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "svg.path-${pkgver}"
+ python setup.py test
+}
+
+package() {
+ cd "svg.path-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list