[arch-commits] Commit in mallard-ducktype/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Mar 13 18:31:21 UTC 2019


    Date: Wednesday, March 13, 2019 @ 18:31:20
  Author: heftig
Revision: 347839

0.4-1

Added:
  mallard-ducktype/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-13 18:31:20 UTC (rev 347839)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=mallard-ducktype
+pkgver=0.4
+pkgrel=1
+pkgdesc="Parser for the lightweight Ducktype syntax for Mallard"
+url="http://projectmallard.org"
+arch=(any)
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools git)
+_commit=5a9f8c9cc2239ac08fe3e690ff9ecabb4fe9917e  # tags/0.4^0
+source=("git+https://github.com/projectmallard/mallard-ducktype#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  python setup.py build
+}
+
+package() {
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
+}



More information about the arch-commits mailing list