summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:43:05 +0200
committerAntonio Rojas2015-06-08 22:43:05 +0200
commit31795b551cad326ecbd852c388926849075cc0c7 (patch)
tree4e117543f1d0f3bcaa8e810d73c96c4bde495c0d
downloadaur-31795b551cad326ecbd852c388926849075cc0c7.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..9be1a1a6b5c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = kcrash-git
+ pkgdesc = KCrash
+ pkgver = r73.36b7c1f
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/kcrash
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ depends = kcoreaddons-git
+ depends = kwindowsystem-git
+ provides = kcrash
+ conflicts = kcrash
+ source = git://anongit.kde.org/kcrash.git
+ md5sums = SKIP
+
+pkgname = kcrash-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e87351a959
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kcrash-git
+pkgver=r73.36b7c1f
+pkgrel=1
+pkgdesc='KCrash'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kcrash'
+license=('LGPL')
+depends=('kcoreaddons-git' 'kwindowsystem-git')
+makedepends=('extra-cmake-modules-git' 'git')
+groups=('kf5')
+conflicts=(kcrash)
+provides=(kcrash)
+source=('git://anongit.kde.org/kcrash.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kcrash
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kcrash \
+ -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
+}