[arch-commits] Commit in mallard-ducktype/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:48:06 UTC 2019
Date: Friday, October 25, 2019 @ 15:48:05
Author: foutrelis
Revision: 365643
archrelease: copy trunk to staging-any
Added:
mallard-ducktype/repos/staging-any/
mallard-ducktype/repos/staging-any/PKGBUILD
(from rev 365642, mallard-ducktype/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: mallard-ducktype/repos/staging-any/PKGBUILD (from rev 365642, mallard-ducktype/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-10-25 15:48:05 UTC (rev 365643)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=mallard-ducktype
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="Parser for the lightweight Ducktype syntax for Mallard"
+url="http://projectmallard.org"
+arch=(any)
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools git)
+_commit=5d0fe2c23571f4463b77afa1ffd2c2bf5e6316f4 # tags/1.0.2^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