diff options
author | Pier Luigi Fiorini | 2018-08-24 15:25:14 +0200 |
---|---|---|
committer | Pier Luigi Fiorini | 2018-08-24 15:25:14 +0200 |
commit | d34e214f67e07edbae1c02db15e5a3f14a7fe945 (patch) | |
tree | dfe935fd56ca38f7d5c164a2ca60377f38185a7e | |
download | aur-d34e214f67e07edbae1c02db15e5a3f14a7fe945.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2d49e0b22887 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Fri Aug 24 13:25:11 UTC 2018 +pkgbase = liri-screenshot-git + pkgdesc = Take pictures of your screen + pkgver = 20180707.87.7f4a30d + pkgrel = 1 + url = https://liri.io + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + groups = liri-git + license = GPL3 + makedepends = git + makedepends = liri-qbs-shared-git + depends = fluid-git + provides = liri-screenshot + conflicts = liri-screenshot + replaces = liri-screenshot + options = debug + options = !strip + source = screenshot::git://github.com/lirios/screenshot.git#branch=develop + md5sums = SKIP + +pkgname = liri-screenshot-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb5103fe410a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> + +pkgname=liri-screenshot-git +pkgver=20180707.87.7f4a30d +pkgrel=1 +pkgdesc="Take pictures of your screen" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url='https://liri.io' +license=('GPL3') +depends=('fluid-git') +makedepends=('git' 'liri-qbs-shared-git') +options=(debug !strip) +conflicts=('liri-screenshot') +replaces=('liri-screenshot') +provides=('liri-screenshot') +groups=('liri-git') + +_gitroot="git://github.com/lirios/screenshot.git" +_gitbranch=develop +_gitname=screenshot +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 config:debug qbs.buildVariant:debug profile:qt5 \ + modules.lirideployment.prefix:/usr \ + modules.lirideployment.qmlDir:/usr/lib/qt/qml \ + modules.lirideployment.pluginsDir:/usr/lib/qt/plugins +} + +package() { + cd ${srcdir}/${_gitname} + qbs install -d build --no-build -v --install-root $pkgdir config:debug profile:qt5 +} |