summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPier Luigi Fiorini2017-05-06 22:36:00 +0200
committerPier Luigi Fiorini2017-05-06 22:36:00 +0200
commit63c79b31a2d1dce98c620bc8fc9fc40da8dbeebb (patch)
treec5e31c16ade4e3c33370ff2f86f661ab197bfdff
downloadaur-63c79b31a2d1dce98c620bc8fc9fc40da8dbeebb.tar.gz
Initial import
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD44
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5390a04e98a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Sat May 6 20:35:56 UTC 2017
+pkgbase = qt5-gsettings-git
+ pkgdesc = Qt-style wrapper for GSettings
+ pkgver = 20170506.0213d57
+ pkgrel = 1
+ url = https://liri.io
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ groups = liri-git
+ license = LGPL3
+ makedepends = git
+ makedepends = qbs
+ depends = qt5-declarative
+ provides = qt5-gsettings
+ conflicts = qt5-gsettings
+ replaces = qt5-gsettings
+ source = qtgsettings::git://github.com/lirios/qtgsettings.git#branch=develop
+ md5sums = SKIP
+
+pkgname = qt5-gsettings-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..10b026e50d0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
+
+pkgname=qt5-gsettings-git
+pkgver=20170506.0213d57
+pkgrel=1
+pkgdesc="Qt-style wrapper for GSettings"
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url='https://liri.io'
+license=('LGPL3')
+depends=('qt5-declarative')
+makedepends=('git' 'qbs')
+conflicts=('qt5-gsettings')
+replaces=('qt5-gsettings')
+provides=('qt5-gsettings')
+groups=('liri-git')
+
+_gitroot="git://github.com/lirios/qtgsettings.git"
+_gitbranch=develop
+_gitname=qtgsettings
+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
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ qbs install -d build --no-build -v --install-root $pkgdir/usr profile:qt5
+}