[arch-commits] Commit in pyhon-pymeta3/repos (community-any community-any/PKGBUILD)

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


    Date: Friday, July 10, 2020 @ 21:00:51
  Author: ffy00
Revision: 663184

archrelease: copy trunk to community-any

Added:
  pyhon-pymeta3/repos/community-any/
  pyhon-pymeta3/repos/community-any/PKGBUILD
    (from rev 663183, pyhon-pymeta3/trunk/PKGBUILD)

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

Copied: pyhon-pymeta3/repos/community-any/PKGBUILD (from rev 663183, pyhon-pymeta3/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-07-10 21:00:51 UTC (rev 663184)
@@ -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