summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:48:48 +0200
committerAntonio Rojas2015-06-08 22:48:48 +0200
commita4c1148497f0f692d87093b711ec55f28b41c1f0 (patch)
treee2ad819c7f7ea6d4f0dbdf7cad1ce31bb5e54f2b
downloadaur-a4c1148497f0f692d87093b711ec55f28b41c1f0.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD41
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..68baf57584e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = threadweaver-git
+ pkgdesc = ThreadWeaver
+ pkgver = r222.c2a2eea
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/threadweaver
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ depends = qt5-base
+ provides = threadweaver
+ conflicts = threadweaver
+ source = git://anongit.kde.org/threadweaver.git
+ md5sums = SKIP
+
+pkgname = threadweaver-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1e4400743a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=threadweaver-git
+pkgver=r222.c2a2eea
+pkgrel=1
+pkgdesc='ThreadWeaver'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/threadweaver'
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('extra-cmake-modules-git' 'git')
+groups=('kf5')
+conflicts=(threadweaver)
+provides=(threadweaver)
+source=('git://anongit.kde.org/threadweaver.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd threadweaver
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../threadweaver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}