diff options
author | Jonathon Fernyhough | 2018-02-27 19:21:39 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2018-02-27 19:21:39 +0000 |
commit | 227290292aec377881cf2be48893d6bd6f731d76 (patch) | |
tree | 285ab7c5e125e8532eaa035cd60c859e47809d4e | |
download | aur-227290292aec377881cf2be48893d6bd6f731d76.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e07a57db30bc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = uecide + pkgdesc = Universal Embedded Computing IDE + pkgver = 0.9.1 + pkgrel = 1 + url = https://uecide.org/ + arch = any + license = GPL2 + makedepends = apache-ant + makedepends = jdk8-openjdk + depends = java-environment>7 + source = uecide-0.9.1.tar.gz::https://github.com/UECIDE/UECIDE/archive/0.9.1.tar.gz + sha256sums = 380258455d05d652200d3c1650e2dcec8f80f4f47a115e207529e9eb24b2bef0 + +pkgname = uecide + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..959ad14b8a50 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Jonathon Fernyhough <jonathon_at_manjaro dot_org> + +pkgname=uecide +pkgver=0.9.1 +pkgrel=1 +pkgdesc='Universal Embedded Computing IDE' +arch=('any') +url='https://uecide.org/' +license=('GPL2') +makedepends=('apache-ant' 'jdk8-openjdk') +depends=('java-environment>7') + +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname^^}/${pkgname^^}/archive/${pkgver}.tar.gz") +sha256sums=('380258455d05d652200d3c1650e2dcec8f80f4f47a115e207529e9eb24b2bef0') + +build() { + cd "${pkgname^^}-$pkgver" + ant +} + +package() { + cd "${pkgname^^}-$pkgver" + + install -Dm 644 dist/linux/doc_icon.png "$pkgdir/usr/share/icons/uecide_sketch.png" + install -Dm 644 dist/linux/uecide.png "$pkgdir/usr/share/icons/uecide.png" + install -Dm 644 dist/linux/uecide.desktop "$pkgdir/usr/share/applications/uecide.desktop" + install -Dm 644 uecide.jar "$pkgdir/usr/share/uecide/uecide.jar" + + install -dm 755 "$pkgdir/usr/bin" + cat <<EOF > "$pkgdir/usr/bin/uecide" +#!/bin/sh +java -jar /usr/share/uecide/uecide.jar "$@" +EOF + chmod 755 "$pkgdir/usr/bin/uecide" +} |