[arch-commits] Commit in mallard-ducktype/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:18:02 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:18:02
  Author: foutrelis
Revision: 429715

archrelease: copy trunk to staging-any

Added:
  mallard-ducktype/repos/staging-any/
  mallard-ducktype/repos/staging-any/PKGBUILD
    (from rev 429714, mallard-ducktype/trunk/PKGBUILD)

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

Copied: mallard-ducktype/repos/staging-any/PKGBUILD (from rev 429714, mallard-ducktype/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-11-30 20:18:02 UTC (rev 429715)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=mallard-ducktype
+pkgver=1.0.2
+pkgrel=7
+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