summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Meter2017-12-23 00:34:59 +0100
committerChristian Meter2017-12-23 00:34:59 +0100
commiteb410092e993d6993408cf19c0d6623fa12abbbb (patch)
treece40c690975bcde636044b7696ef7b51872d1fe4
downloadaur-eb410092e993d6993408cf19c0d6623fa12abbbb.tar.gz
Add omnia to AUR
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD34
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..23fd5b9f7d8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = omnia
+ pkgdesc = Omnia is a REPL with almost all the power of a fully fledged editor, without being an editor
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/AvramRobert/omnia
+ arch = x86_64
+ license = APL
+ depends = java-runtime
+ provides = omnia
+ conflicts = omnia
+ source = https://github.com/AvramRobert/omnia/releases/download/0.1.0-BETA/omnia-0.1.0.tar
+ md5sums = 9e740de0040653cae8b5f650870b9612
+
+pkgname = omnia
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8b71fafb1fc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Christian Meter <cmeter@gmail.com>
+
+pkgname=omnia
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Omnia is a REPL with almost all the power of a fully fledged editor, without being an editor"
+arch=('x86_64')
+url="https://github.com/AvramRobert/omnia"
+license=('APL')
+provides=('omnia')
+conflicts=('omnia')
+depends=('java-runtime')
+
+source=("${url}/releases/download/${pkgver}-BETA/${pkgname}-${pkgver}.tar")
+md5sums=('9e740de0040653cae8b5f650870b9612')
+
+# build() {
+# tar xvf "${pkgname}-${pkgver}.tar"
+# }
+
+prepare() {
+ cat << EOT >| start_omnia.sh
+#!/bin/sh
+sh /opt/omnia/omnia
+EOT
+}
+
+package() {
+ install -Dm755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/opt/${pkgname}/${pkgname}"
+ install -Dm755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.jar" "${pkgdir}/opt/${pkgname}/${pkgname}-${pkgver}.jar"
+ install -D "${srcdir}/${pkgname}-${pkgver}/${pkgname}.edn" "${pkgdir}/opt/${pkgname}/${pkgname}.edn"
+
+ install -Dm755 "${srcdir}/start_omnia.sh" "${pkgdir}/usr/bin/${pkgname}"
+}