Date: Thursday, May 17, 2018 @ 08:11:51
  Author: felixonmars
Revision: 323451

archrelease: copy trunk to community-any

Added:
  liri-qbs-shared/repos/community-any/
  liri-qbs-shared/repos/community-any/PKGBUILD
    (from rev 323450, liri-qbs-shared/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: liri-qbs-shared/repos/community-any/PKGBUILD (from rev 323450, 
liri-qbs-shared/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2018-05-17 08:11:51 UTC (rev 323451)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Pier Luigi Fiorini <pierluigi.fior...@gmail.com>
+
+pkgname=liri-qbs-shared
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Extra imports and modules for Qbs"
+arch=('any')
+url='https://liri.io'
+license=('BSD')
+depends=('qbs')
+groups=('liri')
+source=("https://github.com/lirios/qbs-shared/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz";)
+sha256sums=('1cbf3475bef23f3533bb164ad9eda7042d488a0e7a6a954b48cfb4c8cee1d1aa')
+
+build() {
+  cd liri-qbs-shared-$pkgver
+  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 project.prefix:/usr
+}
+
+package() {
+  cd liri-qbs-shared-$pkgver
+  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
+
+  install -Dm644 LICENSE.BSD 
"$pkgdir"/usr/share/licenses/liri-qbs-shared/LICENSE.BSD
+}

Reply via email to