summaryrefslogtreecommitdiffstats
path: root/kde/polkit-kde/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/polkit-kde/Pkgfile')
-rwxr-xr-xkde/polkit-kde/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/kde/polkit-kde/Pkgfile b/kde/polkit-kde/Pkgfile
new file mode 100755
index 000000000..234ba712d
--- /dev/null
+++ b/kde/polkit-kde/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Librairie d'agent d'authentification de kde
+# URL: http://www.kde.org
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: kdelibs
+
+name=polkit-kde
+version=0.95.1
+release=1
+source=(ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2
+ xdg-path.patch
+ gcc45.patch)
+
+build() {
+ cd $SRC/$name-1-$version
+ patch -p0 -i $SRC/xdg-path.patch
+ patch -p0 -i $SRC/gcc45.patch
+ cd ..
+ mkdir build
+ cd build
+ export XDG_CONFIG_DIRS=/etc/xdg
+ cmake ../$name-1-$version \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+ make DESTDIR=$PKG install
+}
+