summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPier Luigi Fiorini2016-10-13 21:46:19 +0200
committerPier Luigi Fiorini2016-10-13 21:46:19 +0200
commit133476e5c9bb50d82f0228f251f720db150a47f6 (patch)
tree72be7c7da3d2bdf5c6840a8b2f19326a6ef58f58
downloadaur-133476e5c9bb50d82f0228f251f720db150a47f6.tar.gz
Initial import
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD45
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..af5f87710bc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Thu Oct 13 19:46:15 UTC 2016
+pkgbase = qt5-accountsservice-git
+ pkgdesc = Qt-style wrapper for Accounts Service
+ pkgver = 20160918.c262a93
+ pkgrel = 1
+ url = http://liri.io
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ groups = liri-git
+ license = GPL3
+ makedepends = git
+ makedepends = extra-cmake-modules
+ depends = qt5-declarative
+ provides = qt5-accountsservice
+ conflicts = qtaccountsservice-git
+ conflicts = qt5-accountsservice
+ replaces = qtaccountsservice-git
+ replaces = qt5-accountsservice
+ source = qtaccountsservice::git://github.com/hawaii-desktop/qtaccountsservice.git#branch=develop
+ md5sums = SKIP
+
+pkgname = qt5-accountsservice-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d83f1111c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
+
+pkgname=qt5-accountsservice-git
+pkgver=20160918.c262a93
+pkgrel=1
+pkgdesc="Qt-style wrapper for Accounts Service"
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url='http://liri.io'
+license=('GPL3')
+depends=('qt5-declarative')
+makedepends=('git' 'extra-cmake-modules')
+conflicts=('qtaccountsservice-git' 'qt5-accountsservice')
+replaces=('qtaccountsservice-git' 'qt5-accountsservice')
+provides=('qt5-accountsservice')
+groups=('liri-git')
+
+_gitroot="git://github.com/hawaii-desktop/qtaccountsservice.git"
+_gitbranch=develop
+_gitname=qtaccountsservice
+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() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${_gitname} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_LIBEXECDIR=lib
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}