desktop/polkit-kde-agent/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

38 lines
827 B
Bash

# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
pkgname=polkit-kde-agent
pkgver=0.99.0
pkgrel=3
pkgdesc='KDE PolicyKit Authentication Agent'
arch=('x86_64')
url='http://www.kde.org'
license=('GPL')
depends=('kdelibs' 'polkit-qt>=0.103.0')
replaces=('polkit-kde')
conflicts=('polkit-kde')
makedepends=('cmake' 'automoc4')
groups=("kde-uninstall" "kde-support")
source=("ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2")
md5sums=('a02d3fddc6270a88bceaf3ba604c92f8')
build() {
cd ${srcdir}/${pkgname}-1-${pkgver}
cd ..
mkdir -p build
cd build
export XDG_CONFIG_DIRS=/etc/xdg
cmake ../${pkgname}-1-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}