[arch-commits] Commit in pyhon-pymeta3/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Fri Jul 10 21:00:41 UTC 2020


    Date: Friday, July 10, 2020 @ 21:00:40
  Author: ffy00
Revision: 663183

upgpkg: python-pymeta3 0.5.1-1

Added:
  pyhon-pymeta3/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-10 21:00:40 UTC (rev 663183)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pymeta3
+pkgname=python-$_pkgname
+pkgver=0.5.1
+pkgrel=1
+pkgdesc='A Pattern-Matching Language Based on Python'
+arch=('any')
+url='https://github.com/wbond/pymeta3'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('0fe89511e8a01589e25cee1bc0e1504698e7c044f008697a9470b80fdf2d9113c0a2c8ca14fbb3fa2be43f60aa6d45d2a852b8ae09e164e28903a314176dbb7d')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list