summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:43:16 +0200
committerAntonio Rojas2015-06-08 22:43:16 +0200
commit7631ee54c353ae88d3f56e4dd7c36f8160cd6c7f (patch)
tree5da186062289ac36727072172c461cb366e44bb8 /PKGBUILD
downloadaur-7631ee54c353ae88d3f56e4dd7c36f8160cd6c7f.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..94d6e772433
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdeclarative-git
+pkgver=r313.d27b914
+pkgrel=1
+pkgdesc='KDeclarative'
+arch=(i686 x86_64)
+url='https://projects.kde.org/projects/frameworks/kdeclarative'
+license=(LGPL)
+depends=(kpackage-git kio-git libepoxy)
+makedepends=(extra-cmake-modules-git git)
+conflicts=(kdeclarative)
+provides=(kdeclarative)
+source=('git://anongit.kde.org/kdeclarative.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kdeclarative
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kdeclarative \
+ -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
+}