git » ardour.git » commit 795e6ae

Don't install xdg integration twice, it's handled by upstream now

author Balló György
2021-05-22 23:19:17 UTC
committer Balló György
2021-05-22 23:19:17 UTC
parent 8f957de3e0f87a73dd736c9ced5970060fdbbc4f

Don't install xdg integration twice, it's handled by upstream now

PKGBUILD +1 -10

diff --git a/PKGBUILD b/PKGBUILD
index b8a4795..6ca27ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 _name=Ardour
 pkgname=ardour
 pkgver=6.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Professional-grade digital audio workstation"
 arch=('x86_64')
 url="https://ardour.org/"
@@ -83,15 +83,6 @@ package() {
   cd "${pkgname}"
   waf i18n --destdir="${pkgdir}"
   waf install --destdir="${pkgdir}"
-  # xdg integration
-  install -vDm 644 "build/gtk2_${pkgname}/${pkgname}.xml" \
-    -t "${pkgdir}/usr/share/mime/packages/"
-  install -vDm 644 "build/gtk2_${pkgname}/${pkgname}${pkgver%%.*}.desktop" \
-    "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-  for size in 16 22 32 48 256 512; do
-    install -vDm 644 "gtk2_${pkgname}/resources/${_name}-icon_${size}px.png" \
-      "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/${pkgname}${pkgver%%.*}.png"
-  done
   # man pages
   install -vDm 644 "${pkgname}.1"* -t "${pkgdir}/usr/share/man/man1/"
 }