summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorxduugu2016-06-25 11:42:17 +0200
committerxduugu2016-06-25 11:42:17 +0200
commit0ca93518fd1431fc355bd82613810ac23b8e5846 (patch)
treeff00d6c401095917f26543c5c3d20afb5670365c /PKGBUILD
downloadaur-0ca93518fd1431fc355bd82613810ac23b8e5846.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..749cb26ebba
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qt5-styleplugins-git
+_pkgname=qtstyleplugins
+pkgver=5.0.0.r7.5f2549b
+pkgrel=1
+pkgdesc="Additional style plugins for Qt5"
+arch=('i686' 'x86_64')
+url="http://code.qt.io/cgit/qt/qtstyleplugins.git"
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('git' 'gconf' 'gtk2')
+optdepends=('gconf: for GTK style'
+ 'gtk2: for GTK style')
+source=("$_pkgname::git+https://code.qt.io/qt/qtstyleplugins.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+
+build() {
+ cd "$_pkgname"
+ qmake PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make INSTALL_ROOT="$pkgdir" install
+ rm -r "$pkgdir/usr/lib/cmake"
+}