diff options
author | Jean Lucas | 2020-08-21 17:44:27 -0400 |
---|---|---|
committer | Jean Lucas | 2020-08-21 17:44:27 -0400 |
commit | 6396122a4f942ec55dd83ef6970570ff5afdedd1 (patch) | |
tree | 7b88fed609d560b0df9266def383e4c8e0d0ecb0 | |
parent | 478901874c3f5fef884ae9c15681911119af09c8 (diff) | |
download | aur-6396122a4f942ec55dd83ef6970570ff5afdedd1.tar.gz |
1.8.9
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 69 | ||||
-rw-r--r--[-rwxr-xr-x] | touchosc-editor.desktop | 16 | ||||
-rw-r--r-- | touchosc-editor.install | 17 | ||||
-rw-r--r--[-rwxr-xr-x] | touchosc-editor.sh | 4 | ||||
-rw-r--r-- | touchosc-layout.xml | 11 |
6 files changed, 52 insertions, 94 deletions
@@ -1,28 +1,25 @@ pkgbase = touchosc-editor - pkgdesc = Graphical editor to create and customise layouts for TouchOSC - pkgver = 1.8.5 + pkgdesc = Graphical layout editor for TouchOSC + pkgver = 1.8.9 pkgrel = 1 - url = http://hexler.net/ - install = touchosc-editor.install + url = http://hexler.net arch = any - license = custom + license = custom:TouchOSC depends = java-runtime - depends = shared-mime-info - depends = xdg-utils - depends = desktop-file-utils depends = hicolor-icon-theme + depends = sh + source = http://hexler.net/pub/touchosc/touchosc-editor-1.8.9-noarch.zip source = touchosc-editor.sh source = touchosc-editor.png - source = touchosc-layout.png source = touchosc-editor.desktop + source = touchosc-layout.png source = touchosc-layout.xml - source = http://hexler.net/pub/touchosc/touchosc-editor-1.8.5-noarch.zip - md5sums = 995e06cdb089cb2d06e5acfbc52b08ae - md5sums = da2cdaa9f48b2de1294200286d465387 - md5sums = caa18a80902f10ced5062b2407c797ee - md5sums = 7dbf615862f6e99e76e97ac2864531fc - md5sums = 68b65fc0a09478d1b055d8c5efc59e58 - md5sums = 2e3d69af556457e1bd09f72447d4296c + sha512sums = ec44d511a59465708174057cb9fee9a0d2fd470c54f4669827d13984a3ccdd086ac6c890ab62dfe32543d23f1f4e90d50c0c40917ba5e50f6cdc1974ba061455 + sha512sums = d2c3d8ea58b55e741d0faea9e8f496632dccf72694890792e16186311577f672603821e99a39c1dd738ec7fd8bb039e3c4ee99f385188665f89b78c215475ec8 + sha512sums = 46c40c206ec3724a5cb35930034c4ab84c89fa821bf2545ed56f2c4328ff16add8977df81135c5637caff65ce3d78ea90166dd19ca76e19b3dd8e2f1123c5753 + sha512sums = 0305480de62b6cc5ca418927d3f33e5ef23a9f751ec29ca422c5d83109198e7d90a4de95dd4d5cd7baf0e4767cc77e8fd33fd08c481f90a9b451d46b215cb2c4 + sha512sums = 95bf18b6108079c30aa5851d50bf9138c3894fce1bed73848720bd20d1133f5fa0af61b4c32e8190f2ff5d4c3739f589efb153a10f94a82fc561e6db0a92d4e2 + sha512sums = d9e9e38b78c618e45dbd2999e2558fd7a33c62878a6e6ba785eaf4385d0cbc47242631d95b2c49ed134f703da893a0010d9990be4d553eae2499c9d7a3d60dec pkgname = touchosc-editor @@ -1,48 +1,39 @@ -# Maintainer: Albert Graef <aggraef@gmail.com> +# Maintainer: Jean Lucas <jean@4ray.co> +# Contributor: Albert Graef <aggraef@gmail.com> pkgname=touchosc-editor -pkgver=1.8.5 +pkgver=1.8.9 pkgrel=1 -pkgdesc="Graphical editor to create and customise layouts for TouchOSC" -arch=('any') -url="http://hexler.net/" -license=('custom') -depends=('java-runtime' 'shared-mime-info' 'xdg-utils' 'desktop-file-utils' 'hicolor-icon-theme') -install="touchosc-editor.install" -source=(touchosc-editor.sh - touchosc-editor.png - touchosc-layout.png - touchosc-editor.desktop - touchosc-layout.xml - "http://hexler.net/pub/touchosc/${pkgname}-${pkgver}-noarch.zip") -md5sums=('995e06cdb089cb2d06e5acfbc52b08ae' - 'da2cdaa9f48b2de1294200286d465387' - 'caa18a80902f10ced5062b2407c797ee' - '7dbf615862f6e99e76e97ac2864531fc' - '68b65fc0a09478d1b055d8c5efc59e58' - '2e3d69af556457e1bd09f72447d4296c') +pkgdesc='Graphical layout editor for TouchOSC' +arch=(any) +url=http://hexler.net +license=(custom:TouchOSC) +depends=(java-runtime hicolor-icon-theme sh) +source=(http://hexler.net/pub/touchosc/$pkgname-$pkgver-noarch.zip + $pkgname.sh + $pkgname.png + $pkgname.desktop + touchosc-layout.png + touchosc-layout.xml) +sha512sums=('ec44d511a59465708174057cb9fee9a0d2fd470c54f4669827d13984a3ccdd086ac6c890ab62dfe32543d23f1f4e90d50c0c40917ba5e50f6cdc1974ba061455' + 'd2c3d8ea58b55e741d0faea9e8f496632dccf72694890792e16186311577f672603821e99a39c1dd738ec7fd8bb039e3c4ee99f385188665f89b78c215475ec8' + '46c40c206ec3724a5cb35930034c4ab84c89fa821bf2545ed56f2c4328ff16add8977df81135c5637caff65ce3d78ea90166dd19ca76e19b3dd8e2f1123c5753' + '0305480de62b6cc5ca418927d3f33e5ef23a9f751ec29ca422c5d83109198e7d90a4de95dd4d5cd7baf0e4767cc77e8fd33fd08c481f90a9b451d46b215cb2c4' + '95bf18b6108079c30aa5851d50bf9138c3894fce1bed73848720bd20d1133f5fa0af61b4c32e8190f2ff5d4c3739f589efb153a10f94a82fc561e6db0a92d4e2' + 'd9e9e38b78c618e45dbd2999e2558fd7a33c62878a6e6ba785eaf4385d0cbc47242631d95b2c49ed134f703da893a0010d9990be4d553eae2499c9d7a3d60dec') package() { - # Installing application - cd $srcdir/$pkgname-$pkgver-noarch - install -dm755 $pkgdir/usr/share/java/ - install -Dm644 TouchOSCEditor.jar $pkgdir/usr/share/java/ + cd $pkgname-$pkgver-noarch - # Installing launcher - install -Dm755 $srcdir/touchosc-editor.sh $pkgdir/usr/bin/touchosc-editor + install -Dm 644 TouchOSCEditor.jar -t "$pkgdir"/usr/share/java/ + install -Dm 644 layouts/* -t $pkgdir/usr/share/$pkgname/layouts + install -Dm 644 Readme.txt -t $pkgdir/usr/share/licenses/$pkgname - # Installing icons - install -dm755 $pkgdir/usr/share/icons/hicolor/128x128/{apps,mimetypes} - install -Dm644 $srcdir/touchosc-editor.png $pkgdir/usr/share/icons/hicolor/128x128/apps - install -Dm644 $srcdir/touchosc-layout.png $pkgdir/usr/share/icons/hicolor/128x128/mimetypes + cd .. - # Installing menu item - install -Dm644 $srcdir/touchosc-editor.desktop $pkgdir/usr/share/applications/touchosc-editor.desktop - - # Installing mimetype - install -Dm644 $srcdir/touchosc-layout.xml $pkgdir/usr/share/mime/packages/touchosc-layout.xml - - # Installing layouts - install -dm755 $pkgdir/usr/share/doc/touchosc-editor/ - install -Dm644 layouts/* $pkgdir/usr/share/doc/touchosc-editor + install -D $pkgname.sh "$pkgdir"/usr/bin/$pkgname + install -Dm 644 $pkgname.desktop -t "$pkgdir"/usr/share/applications + install -Dm 644 $pkgname.png -t "$pkgdir"/usr/share/icons/hicolor/128x128/apps + install -Dm 644 touchosc-layout.png -t "$pkgdir"/usr/share/icons/hicolor/128x128/mimetypes + install -Dm 644 touchosc-layout.xml -t "$pkgdir"/usr/share/mime/packages } diff --git a/touchosc-editor.desktop b/touchosc-editor.desktop index 4c15a900d14d..92231deae0cd 100755..100644 --- a/touchosc-editor.desktop +++ b/touchosc-editor.desktop @@ -1,18 +1,8 @@ [Desktop Entry] -Comment[en_US]= -Comment= +Type=Application +Name=TouchOSC Editor +Comment=Graphical layout editor for TouchOSC Exec=touchosc-editor %f Icon=touchosc-editor MimeType=application/touchosc -Name=TouchOSC Editor -Name[en_US]=TouchOSC Editor -Path= -StartupNotify=false -Terminal=false -TerminalOptions= -Type=Application Categories=AudioVideo;Music;Utility; -X-DBUS-ServiceName= -X-DBUS-StartupType= -X-KDE-SubstituteUID=false -X-KDE-Username= diff --git a/touchosc-editor.install b/touchosc-editor.install deleted file mode 100644 index 078249bda7f7..000000000000 --- a/touchosc-editor.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - echo "Updating icon cache..." - gtk-update-icon-cache -q /usr/share/icons/hicolor > /dev/null - echo "Updating desktop database..." - update-desktop-database -q > /dev/null - echo "Updating mime database..." - update-mime-database /usr/share/mime/ > /dev/null -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - diff --git a/touchosc-editor.sh b/touchosc-editor.sh index 87b83e5e0c58..9b8517bd7f95 100755..100644 --- a/touchosc-editor.sh +++ b/touchosc-editor.sh @@ -1,5 +1,3 @@ -#! /bin/bash +#!/usr/bin/env sh -# Launch the TouchOSC editor. NOTE: While we do pass arguments on the command -# line, at present the Java application just ignores these on Linux. exec java -jar /usr/share/java/TouchOSCEditor.jar "$@" diff --git a/touchosc-layout.xml b/touchosc-layout.xml index a28981f2add3..d46e5e9e87cf 100644 --- a/touchosc-layout.xml +++ b/touchosc-layout.xml @@ -1,11 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/touchosc"> - <comment>TouchOSC layout</comment> - <comment xml:lang="de">TouchOSC-Layout</comment> - <comment xml:lang="fr">Maquette de TouchOSC</comment> - <sub-class-of type="application/zip"/> - <generic-icon name="touchosc-layout"/> - <glob pattern="*.touchosc"/> + <comment>TouchOSC Layout</comment> + <comment xml:lang="fr">Maquette de TouchOSC</comment> + <sub-class-of type="application/zip"/> + <generic-icon name="touchosc-layout"/> + <glob pattern="*.touchosc"/> </mime-type> </mime-info> |