desktop/polkit-kde-agent/PKGBUILD

40 lines
829 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
2013-12-18 02:41:12 +08:00
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
2011-03-05 21:14:02 +08:00
pkgname=polkit-kde-agent
pkgver=0.99.0
2012-11-18 03:00:02 +08:00
pkgrel=3
2011-03-05 21:14:02 +08:00
pkgdesc='KDE PolicyKit Authentication Agent'
2012-11-18 03:00:02 +08:00
arch=('x86_64')
2011-03-05 21:14:02 +08:00
url='http://www.kde.org'
license=('GPL')
2012-11-18 03:00:02 +08:00
depends=('kdelibs' 'polkit-qt>=0.103.0')
2011-03-05 21:14:02 +08:00
replaces=('polkit-kde')
2012-11-18 03:00:02 +08:00
conflicts=('polkit-kde')
2011-03-05 21:14:02 +08:00
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
2011-03-05 21:14:02 +08:00
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}