summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-11-03 17:25:39 +0800
committerChocobo12017-11-03 17:37:21 +0800
commit8b6b2140042b3612547df9561a6d6631aaf42a8e (patch)
tree9337fb60ff1cb7a2590d99141fa9622f832b1d30
downloadaur-8b6b2140042b3612547df9561a6d6631aaf42a8e.tar.gz
newpkg: nuitka-git 0.5.28.1.r1.g4d1a1741
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..78a1eff1a51
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = nuitka-git
+ pkgdesc = A Python compiler
+ pkgver = 0.5.28.1.r1.g4d1a1741
+ pkgrel = 1
+ url = https://nuitka.net/
+ arch = any
+ license = apache
+ makedepends = git
+ depends = python
+ optdepends = chrpath: for building standalone executables
+ provides = nuitka
+ conflicts = nuitka
+ options = !emptydirs
+ source = git+https://git.nuitka.net/Nuitka.git
+ sha256sums = SKIP
+
+pkgname = nuitka-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9daf2d500ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=nuitka-git
+pkgver=0.5.28.1.r1.g4d1a1741
+pkgrel=1
+pkgdesc="A Python compiler"
+arch=('any')
+url="https://nuitka.net/"
+license=('apache')
+depends=('python')
+makedepends=('git')
+optdepends=('chrpath: for building standalone executables')
+provides=('nuitka')
+conflicts=('nuitka')
+options=('!emptydirs')
+source=("git+https://git.nuitka.net/Nuitka.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "Nuitka"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "Nuitka"
+
+ python "setup.py" install --root="$pkgdir" --optimize=1
+}