# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=gksu pkgver=2.0.2 pkgrel=7 pkgdesc='A graphical frontend for su.' arch=('x86_64' 'aarch64') url='https://people.debian.org/~kov/gksu/' license=('GPL') depends=('libgksu' 'xorg-xauth') makedepends=('gtk-doc' 'intltool') source=("https://people.debian.org/~kov/gksu/$pkgname-$pkgver.tar.gz") sha512sums=('8afde61e10c8a22bef3c8a5c2d90bd599d00ad9b71b30b2edc9c114be91ca8456e1af5c9db03fe02416424e50aa20c23eaefb2a8fd1db77aac37da7e85604f75') build() { cd "$pkgname-$pkgver" if [[ "$CARCH" == "x86_64" ]]; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --disable-nautilus-extension else ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --disable-nautilus-extension --build=arm fi make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install rm -rf "$pkgdir/usr/share/applications/" }