summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:43:45 +0200
committerAntonio Rojas2015-06-08 22:43:45 +0200
commit34649822cda08aa800653b399a7c8062fb369cb3 (patch)
tree4f295fea7b526d6714767ef33b73684b2df1b1bc
downloadaur-34649822cda08aa800653b399a7c8062fb369cb3.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD42
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1b871451495
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = kdesu-git
+ pkgdesc = KDE Su
+ pkgver = r190.ae84292
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/kdesu
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ depends = kservice-git
+ depends = kpty-git
+ provides = kdesu
+ conflicts = kdesu
+ source = git://anongit.kde.org/kdesu.git
+ md5sums = SKIP
+
+pkgname = kdesu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..03a7843a47e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdesu-git
+pkgver=r190.ae84292
+pkgrel=1
+pkgdesc='KDE Su'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kdesu'
+license=('LGPL')
+depends=('kservice-git' 'kpty-git')
+makedepends=('extra-cmake-modules-git' 'git')
+groups=('kf5')
+conflicts=(kdesu)
+provides=(kdesu)
+source=('git://anongit.kde.org/kdesu.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kdesu
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kdesu \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DLIBEXEC_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}