diff options
author | Dimitris Kiziridis | 2020-06-06 00:24:02 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-06-06 00:24:02 +0300 |
commit | a292604fecec8379bf80d51b58cd694d41993b77 (patch) | |
tree | 88e0abf4e4d9ad3078a1db63b02c5fa3ac2a8d36 | |
download | aur-a292604fecec8379bf80d51b58cd694d41993b77.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1e80f859c193 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = midica + pkgdesc = A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer + pkgver = 1.2 + pkgrel = 1 + url = http://www.midica.org + arch = any + license = MPL2 + makedepends = gendesk + depends = java-runtime>=7 + depends = bash + source = midica-1.2.jar::https://github.com/truj/midica/releases/download/1.2/midica.jar + sha256sums = 33c54c22b00a5aaded8dc2140907035e92203f0fe872c0a0bd283178d31e33e8 + +pkgname = midica + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5796c2fbd8c6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> + +pkgname=midica +pkgver=1.2 +pkgrel=1 +pkgdesc="A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer" +arch=('any') +url='http://www.midica.org' +license=('MPL2') +depends=('java-runtime>=7' 'bash') +makedepends=('gendesk') +source=("${pkgname}-${pkgver}.jar::https://github.com/truj/midica/releases/download/${pkgver}/midica.jar") +sha256sums=('33c54c22b00a5aaded8dc2140907035e92203f0fe872c0a0bd283178d31e33e8') + +package() { + install -Dm644 ${pkgname}-${pkgver}.jar -t "${pkgdir}/usr/share/java/${pkgname}" + install -Dm644 org/midica/resources/app-icon.png "${pkgdir}/usr/share/pixmaps/midica.png" + echo "#!/bin/sh + exec /usr/bin/java -jar '/usr/share/java/${pkgname}/${pkgname}-${pkgver}.jar' "\$\@"" > midica.sh + install -Dm755 midica.sh "${pkgdir}/usr/bin/midica" + gendesk -f -n --pkgname "${pkgname}" \ + --pkgdesc "$pkgdesc" \ + --name "Midica" \ + --comment "$pkgdesc" \ + --exec "${pkgname}" \ + --categories 'Utility;AudioVideo;Application' \ + --icon "${pkgname}" + install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" +}
\ No newline at end of file |