[arch-commits] Commit in gnome-shell-extension-appindicator/trunk (PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Mon Jul 19 16:30:31 UTC 2021


    Date: Monday, July 19, 2021 @ 16:30:31
  Author: kpcyrd
Revision: 978803

upgpkg: gnome-shell-extension-appindicator 40-2

Modified:
  gnome-shell-extension-appindicator/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-19 16:28:50 UTC (rev 978802)
+++ PKGBUILD	2021-07-19 16:30:31 UTC (rev 978803)
@@ -2,12 +2,13 @@
 
 pkgname=gnome-shell-extension-appindicator
 pkgver=40
-pkgrel=1
+pkgrel=2
 pkgdesc='AppIndicator/KStatusNotifierItem support for GNOME Shell'
 url='https://github.com/ubuntu/gnome-shell-extension-appindicator'
 arch=('any')
 license=('GPL')
 depends=('gnome-shell>=3.34')
+makedepends=('zip')
 optdepends=(
   'libappindicator-gtk2: support GTK+2 applications'
   'libappindicator-gtk3: support GTK+3 applications'
@@ -15,12 +16,17 @@
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ubuntu/${pkgname}/archive/v${pkgver}.tar.gz")
 sha256sums=('4ababf6ba4dbfd5af62e4539499c0e7a717d1873295733c36beb5396dbfaf7ed')
 
+build() {
+  cd "${pkgname}-${pkgver}"
+  make zip-file
+}
+
 package() {
   cd "${pkgname}-${pkgver}"
   local dest="${pkgdir}/usr/share/gnome-shell/extensions/appindicatorsupport at rgcjonas.gmail.com"
 
   install -d "${dest}"
-  cp --parents -t "${dest}" metadata.json *.js interfaces-xml/*.xml
+  bsdtar --no-same-owner -xvf build/appindicator-support.zip -C "${dest}"
 }
 
 # vim: ts=2 sw=2 et:




More information about the arch-commits mailing list