diff options
author | s-ol | 2018-10-13 01:44:46 +1100 |
---|---|---|
committer | s-ol | 2018-10-13 01:44:46 +1100 |
commit | f7fe49d8e70bd980b3142866e0c212474cd42548 (patch) | |
tree | 299aade38299d6e945648233b017f855a811063b | |
download | aur-f7fe49d8e70bd980b3142866e0c212474cd42548.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 37 | ||||
-rwxr-xr-x | ossia-score | 3 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f9e95d198f4b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = ossia-score-appimage + pkgdesc = an interactive sequencer for the intermedia arts. + pkgver = 1.0.0b40 + pkgrel = 1 + url = https://ossia.io/ + arch = x86_64 + license = custom + depends = glib2 + depends = qt5-base + depends = qt5-declarative + depends = qt5-quickcontrols2 + depends = qt5-serialport + depends = qt5-svg + depends = qt5-websockets + source = Score.AppImage::https://github.com/OSSIA/score/releases/download/v1.0.0-b40/Score-v1.0.0-b40-amd64.AppImage + source = ossia-score + md5sums = c21b30e221d0e13f77f22c80584373af + md5sums = da517b82b443be8057ee4fbadb414e43 + +pkgname = ossia-score-appimage + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5cb94dd87864 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Sol Bekic <s+aur at s-ol dot nu> + +_pkgver=1.0.0-b40 +pkgname=ossia-score-appimage +pkgver=1.0.0b40 +pkgrel=1 +pkgdesc="an interactive sequencer for the intermedia arts." +arch=('x86_64') +url="https://ossia.io/" +license=('custom') +depends=('glib2' 'qt5-base' 'qt5-declarative' 'qt5-quickcontrols2' 'qt5-serialport' 'qt5-svg' 'qt5-websockets') +source=("Score.AppImage::https://github.com/OSSIA/score/releases/download/v${_pkgver}/Score-v${_pkgver}-amd64.AppImage" + "ossia-score") +md5sums=('c21b30e221d0e13f77f22c80584373af' + 'da517b82b443be8057ee4fbadb414e43') + +package() { + # Extract AppImage + chmod +x Score.AppImage + ./Score.AppImage --appimage-extract + + root="${srcdir}/squashfs-root" + sed -i "/^Exec=/cExec=ossia-score" "${root}/Score.desktop" + + install -d "${pkgdir}/usr/lib/score" + install -D "${root}/usr/lib/score/"* "${pkgdir}/usr/lib/score/" + install -D "${root}/usr/lib/libscore"* "${pkgdir}/usr/lib/" + install -D "${root}/usr/lib/libossia"* "${pkgdir}/usr/lib/" + + install -d "${pkgdir}/usr/bin" + install -D "${root}/usr/bin/score" "${pkgdir}/usr/bin/" + install -D "${srcdir}/ossia-score" "${pkgdir}/usr/bin/" + + install -d "${pkgdir}/usr/share" + install -D "${root}/Score.desktop" "${pkgdir}/usr/share/applications/Score.desktop" + install -D "${srcdir}/squashfs-root/usr/share/pixmaps/score.png" "${pkgdir}/usr/share/pixmaps/score.png" +} diff --git a/ossia-score b/ossia-score new file mode 100755 index 000000000000..aa3154135b90 --- /dev/null +++ b/ossia-score @@ -0,0 +1,3 @@ +#!/bin/sh +export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb +LD_LIBRARY_PATH=/usr/lib/score /usr/bin/score |