diff options
author | nfnty | 2016-06-25 11:10:22 +0200 |
---|---|---|
committer | nfnty | 2016-06-25 11:53:13 +0200 |
commit | c54adba628d447e701f64b8ec0922ff70a821177 (patch) | |
tree | a02b3a4a250967c7c7d3d27cdae975fc433704d3 | |
parent | 0ca93518fd1431fc355bd82613810ac23b8e5846 (diff) | |
download | aur-c54adba628d447e701f64b8ec0922ff70a821177.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 40 insertions, 32 deletions
@@ -1,19 +1,21 @@ -pkgbase = qt5-styleplugins-git +# Generated by mksrcinfo v8 +# Sat Jun 25 09:10:00 UTC 2016 +pkgbase = qt5-qtstyleplugins-git pkgdesc = Additional style plugins for Qt5 - pkgver = 5.0.0.r7.5f2549b + pkgver = r1 pkgrel = 1 - url = http://code.qt.io/cgit/qt/qtstyleplugins.git + url = http://code.qt.io/cgit/qt/qtstyleplugins 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 + depends = gtk2 + depends = libx11 + provides = qt5-qtstyleplugins + conflicts = qt5-qtstyleplugins + source = qtstyleplugins::git+http://code.qt.io/cgit/qt/qtstyleplugins.git + sha512sums = SKIP +pkgname = qt5-qtstyleplugins-git @@ -1,33 +1,39 @@ -# 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" +pkgname=('qt5-qtstyleplugins-git') +srcname='qtstyleplugins' +pkgdesc='Additional style plugins for Qt5' +pkgver='r1' +pkgrel='1' arch=('i686' 'x86_64') -url="http://code.qt.io/cgit/qt/qtstyleplugins.git" +url="http://code.qt.io/cgit/qt/${srcname}" 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') + +depends=('qt5-base' 'gtk2' 'libx11') +makedepends=('git' 'gconf') +provides=("${pkgname[0]%-git}") +conflicts=("${pkgname[0]%-git}") + +source=("${srcname}::git+${url}.git") +sha512sums=('SKIP') pkgver() { - cd "$_pkgname" - printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')" + cd "${srcdir}/${srcname}" + + printf 'r%s.%s.%s\n' \ + "$( git rev-list --count 'HEAD' )" \ + "$( git log --max-count='1' --pretty='format:%ct' )" \ + "$( git rev-parse --short 'HEAD' )" } build() { - cd "$_pkgname" - qmake PREFIX=/usr LIBDIR=/usr/lib - make + cd "${srcdir}/${srcname}" + + qmake PREFIX='/usr' LIBDIR='/usr/lib' + make } package() { - cd "$_pkgname" - make INSTALL_ROOT="$pkgdir" install - rm -r "$pkgdir/usr/lib/cmake" + cd "${srcdir}/${srcname}" + + make INSTALL_ROOT="${pkgdir}" install + rm --recursive "${pkgdir}/usr/lib/cmake" } |