summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e928fd7)
raw | patch | inline | side by side (parent: e928fd7)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 5 Mar 2017 09:34:45 +0000 (12:34 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 5 Mar 2017 09:34:45 +0000 (12:34 +0300) |
PKGBUILD | [new file with mode: 0644] | patch | blob |
diff --git a/PKGBUILD b/PKGBUILD
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+pkgname=midletpascal-git
+pkgver=3.5.b7ecc39
+pkgrel=1
+pkgdesc='MidletPascal Compiler for Linux'
+arch=('i686' 'x86_64')
+url='https://github.com/DeaDDooMER/mp3CC-linux'
+license=('GPLv3')
+makedepends=('git' 'microemulator' 'java-environment-openjdk' 'proguard')
+source=('git://github.com/DeaDDooMER/mp3CC-linux.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/mp3CC-linux"
+ echo "3.5".$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${srcdir}/mp3CC-linux/mpc"
+ make
+ cd ../mps
+ ./make.sh
+}
+
+package() {
+ cd "${srcdir}/mp3CC-linux"
+ mkdir -p "${pkgdir}/"{usr/bin,usr/share/midletpascal}
+ cp mpc/mp3CC "${pkgdir}/usr/bin"
+ cp -r mps/stubs "${pkgdir}/usr/share/midletpascal"
+}