commit 5566eea21b6bcb43019ff0e46d3a707fd75aacfc Author: nfnty Date: Sat Jun 25 11:58:18 2016 +0200 Initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..4e4666f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Sat Jun 25 09:58:14 UTC 2016 +pkgbase = qt5-styleplugins + pkgdesc = Additional style plugins for Qt5 + pkgver = 5.0.0 + pkgrel = 1 + url = http://code.qt.io/cgit/qt/qtstyleplugins + arch = i686 + arch = x86_64 + license = LGPL + makedepends = git + depends = qt5-base + depends = gconf + depends = gtk2 + depends = libx11 + provides = qt5-styleplugins + conflicts = qt5-styleplugins + source = qtstyleplugins::git+http://code.qt.io/cgit/qt/qtstyleplugins.git#commit=5f2549b016b8da89160d6e2184ea83627bff92d6 + sha512sums = SKIP + +pkgname = qt5-styleplugins + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1168187 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=('qt5-styleplugins') +srcname='qtstyleplugins' +pkgdesc='Additional style plugins for Qt5' +pkgver='5.0.0' +pkgrel='1' +arch=('i686' 'x86_64') +url="http://code.qt.io/cgit/qt/${srcname}" +license=('LGPL') + +depends=('qt5-base' 'gconf' 'gtk2' 'libx11') +makedepends=('git') +provides=("${pkgname[0]%-git}") +conflicts=("${pkgname[0]%-git}") + +source=("${srcname}::git+${url}.git#commit=5f2549b016b8da89160d6e2184ea83627bff92d6") +sha512sums=('SKIP') + +build() { + cd "${srcdir}/${srcname}" + + qmake PREFIX='/usr' LIBDIR='/usr/lib' + make +} + +package() { + cd "${srcdir}/${srcname}" + + make INSTALL_ROOT="${pkgdir}" install + rm --recursive "${pkgdir}/usr/lib/cmake" +}