summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorosvein2017-02-18 21:48:33 +0100
committerosvein2017-02-18 21:48:33 +0100
commitc0c1c270130b2f5369d5341af91d63f6769d40c5 (patch)
tree764372c29ea7ffe12edadafd5b550e4a6ea4b2c7
downloadaur-c0c1c270130b2f5369d5341af91d63f6769d40c5.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD37
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a5d09e74592
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = ndless-luna-git
+ pkgdesc = Pack Lua programs and XML problems as TNS files for use on the TI-Nspire calculator series
+ pkgver = 1.0.1.r6.ged91f13
+ pkgrel = 1
+ url = https://github.com/ndless-nspire/Luna
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ arch = aarch64
+ license = MPL
+ makedepends = git
+ depends = zlib
+ provides = ndless-luna
+ conflicts = ndless-luna
+ source = ndless-luna::git+https://github.com/ndless-nspire/Luna.git
+ md5sums = SKIP
+
+pkgname = ndless-luna-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1841fb72499
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Oskar Sveinsen
+
+_pkgname=ndless-luna
+pkgname=ndless-luna-git
+pkgver=1.0.1.r6.ged91f13
+pkgrel=1
+pkgdesc="Pack Lua programs and XML problems as TNS files for use on the TI-Nspire calculator series"
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
+url="https://github.com/ndless-nspire/Luna"
+license=('MPL')
+groups=()
+depends=('zlib')
+makedepends=('git')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+replaces=()
+backup=()
+options=()
+install=
+source=("${_pkgname}"::'git+https://github.com/ndless-nspire/Luna.git')
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ make PREFIX="${pkgdir}/usr/bin" install
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ make
+}