Date: Thursday, May 17, 2018 @ 08:23:44
  Author: felixonmars
Revision: 323467

archrelease: copy trunk to community-testing-x86_64

Added:
  fluid/repos/community-testing-x86_64/
  fluid/repos/community-testing-x86_64/PKGBUILD
    (from rev 323466, fluid/trunk/PKGBUILD)

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

Copied: fluid/repos/community-testing-x86_64/PKGBUILD (from rev 323466, 
fluid/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-05-17 08:23:44 UTC (rev 323467)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=fluid
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Library for QtQuick apps with Material Design and Universal"
+arch=('x86_64')
+url='https://github.com/lirios/fluid'
+license=('MPL')
+depends=('qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg')
+makedepends=('liri-qbs-shared' 'nodejs-material-design-icons' 'qt5-tools')
+replaces=('qml-material')
+groups=('liri')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/fluid/archive/v$pkgver.tar.gz";)
+sha512sums=('a9f59c7d77c40d57bd66370bd5302db583fea58e23b0830eea5e9edd002b41d3f21bdfb17748c1d31916aba15c0d5cf63335dc89ce398105a37d81311810b0b8')
+
+prepare() {
+  cd fluid-$pkgver
+  ln -s /usr/lib/node_modules/material-design-icons
+  sed -e '/git clone/d' -e '/rm -rf/d' -i scripts/fetch_icons.sh
+  scripts/fetch_icons.sh
+}
+
+build() {
+  cd fluid-$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 
modules.lirideployment.prefix:/usr
+}
+
+package() {
+  cd fluid-$pkgver
+  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
+}

Reply via email to