polkit-qt: add distfiles+checksum

This commit is contained in:
Andrea Brancaleoni 2015-07-27 13:31:42 +02:00
parent 993163c36e
commit f79ec85ed9
1 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'polkit-qt'
pkgname=polkit-qt
version=0.112.0
revision=1
revision=2
build_style=cmake
hostmakedepends="pkg-config cmake automoc4 git"
makedepends="polkit-devel qt-devel"
@ -9,10 +9,9 @@ short_desc="Qt-style PolicyKit API"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1"
license="LGPL-2.1"
do_fetch() {
git clone -b v${version} git://anongit.kde.org/polkit-qt-1.git ${pkgname}-${version}
}
wrksrc="polkit-qt-1-$version"
distfiles="http://download.kde.org/stable/apps/KDE4.x/admin/polkit-qt-1-${version}.tar.bz2"
checksum=67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6
polkit-qt-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"