polkit-qt5: add distfiles+checksum

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

View File

@ -1,7 +1,7 @@
# Template file for 'polkit-qt5'
pkgname=polkit-qt5
version=0.112.0
revision=1
revision=2
build_style=cmake
hostmakedepends="pkg-config cmake automoc4 git"
makedepends="polkit-devel qt5-devel"
@ -9,10 +9,9 @@ short_desc="Qt-style PolicyKit API (Qt5)"
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-qt5-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"