mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
|
#
|
||
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=polkit-kde-agent
|
||
|
pkgver=0.99.0
|
||
|
pkgrel=1
|
||
|
pkgdesc='KDE PolicyKit Authentication Agent'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='http://www.kde.org'
|
||
|
license=('GPL')
|
||
|
depends=('kdelibs')
|
||
|
replaces=('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 || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${srcdir}/build
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|