[arch-commits] Commit in mallard-ducktype/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 16:20:06 UTC 2020
Date: Monday, November 9, 2020 @ 16:20:06
Author: felixonmars
Revision: 399803
archrelease: copy trunk to staging-any
Added:
mallard-ducktype/repos/staging-any/
mallard-ducktype/repos/staging-any/PKGBUILD
(from rev 399802, mallard-ducktype/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: mallard-ducktype/repos/staging-any/PKGBUILD (from rev 399802, mallard-ducktype/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-11-09 16:20:06 UTC (rev 399803)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=mallard-ducktype
+pkgver=1.0.2
+pkgrel=5
+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