[arch-commits] Commit in python-pybars3/trunk (PKGBUILD)

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


    Date: Friday, July 10, 2020 @ 21:08:06
  Author: ffy00
Revision: 663191

upgpkg: python-pybars3 0.9.7-1

Added:
  python-pybars3/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-10 21:08:06 UTC (rev 663191)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pybars3
+pkgname=python-$_pkgname
+pkgver=0.9.7
+pkgrel=1
+pkgdesc='Template system for Python which is compatible with Handlebars.js'
+arch=('any')
+url='https://github.com/wbond/pybars3'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'python-pymeta3')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('5178c120e74dce9e469dd0a4b1acb4b4dd6780b6b3d8121792fff99a6c2dd8b1222fee702300421085b568cf9437c927a89d772867e1101677d72a372acae1b6')
+
+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