diff --git a/polkit/trunk/PKGBUILD b/polkit/trunk/PKGBUILD index 6c816b64a30..1112ea55955 100644 --- a/polkit/trunk/PKGBUILD +++ b/polkit/trunk/PKGBUILD @@ -2,30 +2,21 @@ pkgname=polkit pkgver=0.118 -pkgrel=1 +pkgrel=2 pkgdesc="Application development toolkit for controlling system-wide privileges" arch=(x86_64) license=(LGPL) url="https://www.freedesktop.org/wiki/Software/polkit/" depends=(glib2 pam expat systemd js78) -makedepends=(intltool gtk-doc gobject-introspection git autoconf-archive) +makedepends=(intltool gtk-doc gobject-introspection autoconf-archive) backup=(etc/pam.d/polkit-1) -_commit=ff4c2144f0fb1325275887d9e254117fcd8a1b52 -source=("git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $pkgname - NOCONFIGURE=1 ./autogen.sh -} +source=(https://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz{,.sign}) +validpgpkeys=(7FFB7D6BD83147D74284E3178CEB3030FFDCE258) # Jan Rybar +sha256sums=('6d54e984e7072339f0d3147179e16e34e5fe0705158f259a765d772dcf78956b' + 'SKIP') build() { - cd $pkgname + cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib \ @@ -38,12 +29,12 @@ build() { } check() { - cd $pkgname + cd $pkgname-$pkgver make -k check || : } package() { - cd $pkgname + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install \ dbusconfdir=/usr/share/dbus-1/system.d \ rulesdir=/usr/share/polkit-1/rules.d