[arch-commits] Commit in gksu/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Jun 28 21:49:51 UTC 2017


    Date: Wednesday, June 28, 2017 @ 21:49:50
  Author: jgc
Revision: 299372

upgpkg: gksu 2.0.2-6

Remove root terminal launcher, users should not use this (FS#54560)

Modified:
  gksu/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-28 21:41:37 UTC (rev 299371)
+++ PKGBUILD	2017-06-28 21:49:50 UTC (rev 299372)
@@ -4,7 +4,7 @@
 
 pkgname=gksu
 pkgver=2.0.2
-pkgrel=5
+pkgrel=6
 pkgdesc="A graphical frontend for su"
 arch=('i686' 'x86_64')
 url="http://www.nongnu.org/gksu/index.html"
@@ -11,13 +11,11 @@
 license=('GPL')
 depends=('libgksu>=2.0.12' 'xorg-xauth')
 makedepends=('gtk-doc' 'intltool')
-source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz)
-md5sums=('cacbcac3fc272dce01c6ea38354489e2')
+source=(https://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('a1de3dca039d88c195fcdc9516379439a1d699750417f1e655aa2101a955ee5a')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop
-  echo "TryExec=gnome-terminal" >> gksu.desktop
   ./configure --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
@@ -29,4 +27,5 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/share/applications/"
 }



More information about the arch-commits mailing list