Date: Thursday, April 6, 2023 @ 12:40:55
  Author: felixonmars
Revision: 1438691

archrelease: copy trunk to community-staging-any

Added:
  dg/repos/community-staging-any/
  dg/repos/community-staging-any/PKGBUILD
    (from rev 1438688, dg/trunk/PKGBUILD)

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

Copied: dg/repos/community-staging-any/PKGBUILD (from rev 1438688, 
dg/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 12:40:55 UTC (rev 1438691)
@@ -0,0 +1,20 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=dg
+pkgver=1.1.0.20160916
+_commit=9d9a5365c8ee28d4812062db1e9932754260d2d0
+pkgrel=7
+pkgdesc="A simple language that compiles to CPython bytecode"
+arch=('any')
+url="https://pyos.github.io/dg";
+license=('MIT')
+depends=('python')
+makedepends=('git')
+source=("git+https://github.com/pyos/dg.git#commit=$_commit";)
+md5sums=('SKIP')
+
+package() {
+  cd dg
+  python setup.py install --root="${pkgdir}/" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to