Date: Wednesday, June 30, 2021 @ 12:03:31
  Author: dvzrv
Revision: 967972

archrelease: copy trunk to community-any

Added:
  mellite/repos/community-any/
  mellite/repos/community-any/PKGBUILD
    (from rev 967971, mellite/trunk/PKGBUILD)
  mellite/repos/community-any/mellite.sh
    (from rev 967971, mellite/trunk/mellite.sh)

------------+
 PKGBUILD   |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 mellite.sh |    4 ++++
 2 files changed, 51 insertions(+)

Copied: mellite/repos/community-any/PKGBUILD (from rev 967971, 
mellite/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2021-06-30 12:03:31 UTC (rev 967972)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+
+_name=Mellite
+_app_name=de.sciss.mellite.Mellite
+pkgname=mellite
+pkgver=3.5.5
+pkgrel=1
+pkgdesc="An environment for creating experimental computer-based music and 
sound art"
+arch=('any')
+url="https://www.sciss.de/mellite/";
+license=('AGPL3')
+groups=('pro-audio')
+depends=('java-environment>=16' 'supercollider')
+makedepends=('gendesk' 'sbt')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Sciss/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz";
+        "${pkgname}.sh")
+sha512sums=('1e4ad800d98c0462bdeb4c8c5e048c60c533fb0d0620705892e638aebe558aacdfb7c375a12ce290a203b7b63488c737d0feb370f0b4bb97445e6cd4e60a9042'
+            
'1a6a572b4c365cdad87930bef805afa229b329cb2ceefb6b9ce42b233ab86f768ae3e3d5fd7cac1129786878c38fd891015aaf6637d9bd7b5ce3b2ef5fe9d30b')
+b2sums=('87b632ecf124eaaf0edd24c366566f74c741c9000df1e7977f5631b9efd7608277d791617f98419f1310e008b3671398e66efe46c6ed758984955da2c22403fd'
+        
'4f1fd83d7cf5561e76f746860e5436e7dfab9bd50ad103f499b82de99a67034122f0e8e99e6a58574d6611585d63b2976e5d31979c7233294464683c86cce3ea')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  gendesk -n \
+          --pkgname "${_app_name}" \
+          --name "Mellite" \
+          --pkgdesc "${meter_types[$type]}" \
+          --exec "${pkgname}" \
+          --icon "${_app_name}" \
+          --genericname "Audio Programming" \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  sbt +mellite-app/test +mellite-app/assembly
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -vDm 644 "app/${_name}.jar" -t "${pkgdir}/usr/share/scala/${pkgname}"
+  install -vDm 755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+  install -vDm 644 icons/application.png 
"${pkgdir}/usr/share/icons/hicolor/256x256/de.sciss.mellite.Mellite.png"
+  install -vDm 644 icons/application.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/de.sciss.mellite.Mellite.svg"
+  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
+}

Copied: mellite/repos/community-any/mellite.sh (from rev 967971, 
mellite/trunk/mellite.sh)
===================================================================
--- community-any/mellite.sh                            (rev 0)
+++ community-any/mellite.sh    2021-06-30 12:03:31 UTC (rev 967972)
@@ -0,0 +1,4 @@
+#!/usr/bin/sh
+
+PATH="/usr/lib/jvm/java-16-openjdk/bin:${PATH}"
+java -jar /usr/share/scala/mellite/Mellite.jar

Reply via email to