diff options
author | Pier Luigi Fiorini | 2017-05-15 00:33:45 +0200 |
---|---|---|
committer | Pier Luigi Fiorini | 2017-05-15 00:33:45 +0200 |
commit | 146b3a118802c05856a6616071eb54fea65af4bb (patch) | |
tree | e30ff1e20d1bfca23a963622b45cb3157498eb9d | |
download | aur-146b3a118802c05856a6616071eb54fea65af4bb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f85b7e10ab1d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Sun May 14 22:33:41 UTC 2017 +pkgbase = liri-platformtheme-git + pkgdesc = Qt platform theme plugin for apps integration with Liri OS + pkgver = 20170514.1a393c4 + pkgrel = 1 + url = https://liri.io + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + groups = liri-git + license = GPL3 + makedepends = git + makedepends = qbs + depends = qt5-base + depends = qt5-quickcontrols2 + depends = qt5-gsettings-git + provides = liri-platform-theme + conflicts = liri-platform-theme + replaces = liri-platform-theme + source = platformtheme::git://github.com/lirios/platformtheme.git#branch=develop + md5sums = SKIP + +pkgname = liri-platformtheme-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b8df1d0696be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> + +pkgname=liri-platformtheme-git +pkgver=20170514.1a393c4 +pkgrel=1 +pkgdesc="Qt platform theme plugin for apps integration with Liri OS" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url='https://liri.io' +license=('GPL3') +depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-gsettings-git') +makedepends=('git' 'qbs') +conflicts=('liri-platform-theme') +replaces=('liri-platform-theme') +provides=('liri-platform-theme') +groups=('liri-git') + +_gitroot="git://github.com/lirios/platformtheme.git" +_gitbranch=develop +_gitname=platformtheme +source=(${_gitname}::${_gitroot}#branch=${_gitbranch}) +md5sums=('SKIP') + +pkgver() { + cd ${srcdir}/${_gitname} + echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")" +} + +prepare() { + cd ${srcdir}/${_gitname} + git submodule update --init +} + +build() { + cd ${srcdir}/${_gitname} + qbs setup-toolchains --type gcc /usr/bin/g++ gcc + qbs setup-qt /usr/bin/qmake-qt5 qt5 + qbs config profiles.qt5.baseProfile gcc + qbs build --no-install -d build profile:qt5 qbs.installRoot:/usr lirideployment.qmlDir:lib/qt/qml lirideployment.pluginsDir:lib/qt/plugins +} + +package() { + cd ${srcdir}/${_gitname} + qbs install -d build --no-build -v --install-root $pkgdir/usr profile:qt5 +} |