summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUffe Jakobsen2017-08-09 20:49:50 +0200
committerUffe Jakobsen2017-08-09 20:51:26 +0200
commit9508d4b35fef203ea079b866292d426a9bd01701 (patch)
tree36151f73e441cb0063916347e37513d7b1920e94
downloadaur-9508d4b35fef203ea079b866292d426a9bd01701.tar.gz
Initial
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD43
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..385cfb986fd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Wed Aug 9 18:51:07 UTC 2017
+pkgbase = propasm-git
+ pkgdesc = Tool to convert Parallax Propeller Spin code to PASM, C++ or C
+ pkgver = r20.ebf0098
+ pkgrel = 1
+ url = https://github.com/cbiffle/propasm
+ arch = any
+ license = unknown
+ depends = java
+ provides = propasm-git
+ conflicts = propasm-git-git
+ source = git+https://github.com/cbiffle/propasm.git
+ md5sums = SKIP
+
+pkgname = propasm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..87d2201da91
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Uffe Jakobsen _<_uffe_at_uffe_dot_org_>_
+pkgname=propasm-git
+_pkgname=propasm
+pkgver=r20.ebf0098
+pkgrel=1
+pkgdesc="Tool to convert Parallax Propeller Spin code to PASM, C++ or C"
+arch=("any")
+url="https://github.com/cbiffle/propasm"
+license=('unknown')
+groups=()
+depends=("java")
+makedepends=()
+provides=("${pkgname}")
+conflicts=("${pkgname}-git")
+replaces=()
+backup=()
+options=()
+install=
+source=("git+https://github.com/cbiffle/propasm.git")
+md5sums=("SKIP")
+
+
+pkgver()
+{
+ cd "${srcdir}/${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build()
+{
+ cd "${srcdir}/${_pkgname}"
+ ant
+}
+
+package()
+{
+ cd "${srcdir}/${_pkgname}"
+ install -Dm 755 "propasm.jar" "${pkgdir}/usr/share/propasm/propasm.jar"
+}
+
+#
+# EOF
+#