diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ebd52a252f75 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = qt5-styleplugins-git + pkgdesc = Additional style plugins for Qt5 + pkgver = 5.0.0.r7.5f2549b + pkgrel = 1 + url = http://code.qt.io/cgit/qt/qtstyleplugins.git + arch = i686 + arch = x86_64 + license = LGPL + makedepends = git + makedepends = gconf + makedepends = gtk2 + depends = qt5-base + optdepends = gconf: for GTK style + optdepends = gtk2: for GTK style + source = qtstyleplugins::git+https://code.qt.io/qt/qtstyleplugins.git + md5sums = SKIP + +pkgname = qt5-styleplugins-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..749cb26ebbab --- /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" +} |