Date: Sunday, September 4, 2022 @ 01:24:12
  Author: ffy00
Revision: 1292775

archrelease: copy trunk to community-any

Added:
  python-trailrunner/repos/community-any/
  python-trailrunner/repos/community-any/PKGBUILD
    (from rev 1292774, python-trailrunner/trunk/PKGBUILD)

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

Copied: python-trailrunner/repos/community-any/PKGBUILD (from rev 1292774, 
python-trailrunner/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2022-09-04 01:24:12 UTC (rev 1292775)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+
+_pkgname=trailrunner
+pkgname=python-$_pkgname
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Walk paths and run things'
+arch=('any')
+url='https://github.com/omnilib/trailrunner'
+license=('MIT')
+depends=('python-pathspec')
+makedepends=('python-build' 'python-installer' 'python-flit-core' 
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('9dc4ef4b9256ba9dcade287bb5fc6037a4472fcd11f2b75d72875db67701d0139069816901c15a15f81994bcf977e5cd837b7c4daedb5fc6143b842276f0f433')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build -nw
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to