summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTérence Clastres2020-02-19 16:05:04 +0100
committerTérence Clastres2020-02-19 16:05:04 +0100
commit58b3837e153acd9d8492ecffb11ca901d4a5a766 (patch)
tree9e0d58f5d824f80ec8361af9ecca494b207ed4c9
parente41e9673e73a61d001baafe7fadb2fa5c9f00544 (diff)
downloadaur-58b3837e153acd9d8492ecffb11ca901d4a5a766.tar.gz
Fix desktop icon
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7b45cd7f440..010ea14e1b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = giada-git
pkgdesc = A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians
pkgver = v0.16.2.r0.ga042f4a1
- pkgrel = 1
+ pkgrel = 2
url = https://www.giadamusic.com/
arch = x86_64
groups = pro-audio
diff --git a/PKGBUILD b/PKGBUILD
index cfe677bdfbf..004084511a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=giada-git
pkgver=v0.16.2.r0.ga042f4a1
-pkgrel=1
+pkgrel=2
pkgdesc="A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians"
arch=('x86_64')
url="https://www.giadamusic.com/"
@@ -40,13 +40,11 @@ prepare() {
autoreconf -vfi
# XDG desktop file
gendesk -n -f \
- --pkgname ${pkgname} \
+ --pkgname ${pkgname/-git} \
--pkgdesc "${pkgdesc}" \
--name Giada \
--categories "AudioVideo;Audio;Midi;Sequencer"
- convert +set date:create +set date:modify \
- "src/ext/${pkgname/-git}.ico" \
- "${pkgname}.png"
+
# fixing catch2 include for system library
sed -e 's|catch\.hpp|catch2/catch\.hpp|g' -i tests/*.cpp
@@ -76,7 +74,8 @@ package() {
make DESTDIR="$pkgdir/" install
# XDG integration
install -vDm 644 "${pkgname/-git}.desktop" -t "${pkgdir}/usr/share/applications"
- install -vDm 644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps"
+ install -vDm 644 "extras/${pkgname/-git}-logo.png" \
+ "${pkgdir}/usr/share/pixmaps/${pkgname/-git}.png"
# docs
install -vDm 644 {ChangeLog,README.md} \
-t "${pkgdir}/usr/share/doc/${pkgname}"