summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPier Luigi Fiorini2018-04-26 01:27:16 +0200
committerPier Luigi Fiorini2018-04-26 01:27:16 +0200
commitbcc024073cda2e3f2e1cc06377dd07582b757c0b (patch)
tree9e33af62bbe8b5379be458d4d19cf1272a3ae0c8
downloadaur-bcc024073cda2e3f2e1cc06377dd07582b757c0b.tar.gz
Initial import
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD41
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..89425233a4e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Wed Apr 25 23:24:26 UTC 2018
+pkgbase = qt5-udev-git
+ pkgdesc = Qt-style wrapper for udev
+ pkgver = 20180425.35.47bf8b2
+ pkgrel = 1
+ url = https://liri.io
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ groups = liri-git
+ license = LGPL3
+ makedepends = git
+ makedepends = liri-qbs-shared-git
+ depends = qt5-base
+ provides = qt5-udev
+ conflicts = qt5-udev
+ replaces = qt5-udev
+ source = qtudev::git://github.com/lirios/qtudev.git#branch=develop
+ md5sums = SKIP
+
+pkgname = qt5-udev-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbfc67474ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
+
+pkgname=qt5-udev-git
+pkgver=20180425.35.47bf8b2
+pkgrel=1
+pkgdesc="Qt-style wrapper for udev"
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url='https://liri.io'
+license=('LGPL3')
+depends=('qt5-base')
+makedepends=('git' 'liri-qbs-shared-git')
+conflicts=('qt5-udev')
+replaces=('qt5-udev')
+provides=('qt5-udev')
+groups=('liri-git')
+
+_gitroot="git://github.com/lirios/qtudev.git"
+_gitbranch=develop
+_gitname=qtudev
+source=(${_gitname}::${_gitroot}#branch=${_gitbranch})
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${_gitname}
+ echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git rev-list --count HEAD).$(git log -1 --format="%h")"
+}
+
+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 \
+ modules.lirideployment.prefix:/usr \
+ modules.lirideployment.qmlDir:/usr/lib/qt/qml
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ qbs install -d build --no-build -v --install-root $pkgdir profile:qt5
+}