# Maintainer: Natanael Copa setglobal pkgname = 'xfce-polkit' setglobal pkgver = '0.2' setglobal pkgrel = '0' setglobal pkgdesc = '"A simple PolicyKit authentication agent for XFCE'" setglobal url = '"https://github.com/ncopa/xfce-polkit'" setglobal arch = '"all'" setglobal license = '"GPL2'" setglobal makedepends = '"libxfce4ui-dev polkit-dev glib-dev gtk+2.0-dev autoconf automake'" setglobal source = ""https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"" setglobal builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { cd $builddir aclocal autoconf automake --add-missing } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --libexecdir=/usr/lib/xfce4 make } proc package { cd $builddir make DESTDIR="$pkgdir" install } setglobal sha512sums = '"da0d01c8b9805efdd212d8d02cafb95a1663184b17c06b0d27553e2189e44b9d1982aa4f51d6cd74d5e0874475346609a1d7c87eba82c55d9967729f59c7c8ac xfce-polkit-0.2.tar.gz'"