summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumner Evans2020-08-02 13:24:06 -0600
committerSumner Evans2020-08-02 13:24:06 -0600
commit8dd43d862b32388b82acb3da0a967f7fe2368305 (patch)
treec96f3e70273b50f22d7d7a30684af0b1d25b66ef
parent65dab8dad3796b5855774427612c2b21a6ae21ea (diff)
downloadaur-8dd43d862b32388b82acb3da0a967f7fe2368305.tar.gz
Move package data resources to /usr/share/sublime-music
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 14 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5ef60da9d2..3d1309842a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sublime-music-git
pkgdesc = A native Subsonic/Airsonic/*sonic client for Linux. Build using Python and GTK+.
- pkgver = v0.11.4.r2.g44a6457
+ pkgver = v0.11.6.r5.g0a5faa2
pkgrel = 1
url = https://sublimemusic.app
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4abd88e89b9..2a72cb5ab6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase='sublime-music-git'
pkgname=('sublime-music-git')
_module='sublime-music'
-pkgver=v0.11.4.r2.g44a6457
+pkgver=v0.11.6.r5.g0a5faa2
pkgrel=1
pkgdesc='A native Subsonic/Airsonic/*sonic client for Linux. Build using Python and GTK+.'
url='https://sublimemusic.app'
@@ -55,6 +55,18 @@ package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ # Move all of the package data resources to ${pkgdir}/usr/share/sublime-music
+ data_dir=${pkgdir}/usr/share/sublime-music
+ mkdir -p $data_dir/adapters/subsonic $data_dir/dbus $data_dir/ui
+ pushd ${pkgdir}/usr/lib/python3.8/site-packages/sublime
+ mv adapters/icons $data_dir/adapters
+ mv adapters/images $data_dir/adapters
+ mv adapters/subsonic/icons $data_dir/adapters/subsonic
+ mv dbus/mpris_specs $data_dir/dbus
+ mv ui/icons $data_dir/ui
+ mv ui/images $data_dir/ui
+ popd
+
desktop-file-install --dir=${pkgdir}/usr/share/applications sublime-music.desktop
pushd docs