summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStoyan Minaev2019-02-25 13:30:46 +0200
committerStoyan Minaev2019-02-25 13:30:46 +0200
commit02f72c3311bb465619a954ab02e86195377cd106 (patch)
tree3c3af83e4e2f23138f6854d821f97adc18b228b3
downloadaur-02f72c3311bb465619a954ab02e86195377cd106.tar.gz
useful commit message
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2dc612b5cc5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = loli
+ pkgdesc = Loli is a embedded programming language
+ pkgver = 0.8
+ pkgrel = 1
+ url = http://loli-lang.ml/
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = cmake
+ makedepends = make
+ makedepends = gcc
+ provides = loli
+ source = loli-0.8::git+https://github.com/loli-foundation/loli.git#tag=0.8
+ sha256sums = SKIP
+
+pkgname = loli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fba33fdbf9b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Stoyan Minaev <stoyan.minaev@gmail.com>
+
+pkgname="loli"
+pkgver="0.8"
+pkgrel="1"
+pkgdesc="Loli is a embedded programming language"
+arch=("x86_64")
+license=("MIT")
+url="http://loli-lang.ml/"
+makedepends=("git" "cmake" "make" "gcc")
+provides=("loli")
+
+source=("loli-$pkgver::git+https://github.com/loli-foundation/loli.git#tag=$pkgver")
+sha256sums=("SKIP")
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ mkdir -p ./build
+ cmake -S ./ -B ./build
+ cd ./build && make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ mkdir -p $pkgdir/usr/{bin,lib}
+ install -m 755 loli $pkgdir/usr/bin/
+ install -m 755 libloli.so $pkgdir/usr/lib/
+}