Date: Thursday, February 9, 2017 @ 07:50:52 Author: felixonmars Revision: 211398
archrelease: copy trunk to community-i686, community-x86_64 Added: fluid/repos/community-i686/ fluid/repos/community-i686/PKGBUILD (from rev 211397, fluid/trunk/PKGBUILD) fluid/repos/community-x86_64/ fluid/repos/community-x86_64/PKGBUILD (from rev 211397, fluid/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) Copied: fluid/repos/community-i686/PKGBUILD (from rev 211397, fluid/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-02-09 07:50:52 UTC (rev 211398) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=fluid +pkgver=0.9.0 +pkgrel=1 +pkgdesc="Library for QtQuick apps with Material Design and Universal" +arch=("i686" "x86_64") +url="https://github.com/lirios/fluid" +license=("MPL") +depends=("qt5-svg" "qt5-quickcontrols2") +makedepends=("git" "extra-cmake-modules") +replaces=('qml-material') +source=("git+https://github.com/lirios/fluid.git#tag=v$pkgver" + "git+https://github.com/google/material-design-icons.git") +sha256sums=('SKIP' + 'SKIP') + +prepare() { + mkdir -p build + + cd $pkgname + git clone "$srcdir/material-design-icons" material-design-icons + scripts/fetch_icons.sh +} + +build() { + cd build + cmake "$srcdir/$pkgname" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_LIBEXECDIR=lib \ + -DKDE_INSTALL_QMLDIR=lib/qt/qml \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: fluid/repos/community-x86_64/PKGBUILD (from rev 211397, fluid/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-02-09 07:50:52 UTC (rev 211398) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=fluid +pkgver=0.9.0 +pkgrel=1 +pkgdesc="Library for QtQuick apps with Material Design and Universal" +arch=("i686" "x86_64") +url="https://github.com/lirios/fluid" +license=("MPL") +depends=("qt5-svg" "qt5-quickcontrols2") +makedepends=("git" "extra-cmake-modules") +replaces=('qml-material') +source=("git+https://github.com/lirios/fluid.git#tag=v$pkgver" + "git+https://github.com/google/material-design-icons.git") +sha256sums=('SKIP' + 'SKIP') + +prepare() { + mkdir -p build + + cd $pkgname + git clone "$srcdir/material-design-icons" material-design-icons + scripts/fetch_icons.sh +} + +build() { + cd build + cmake "$srcdir/$pkgname" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_LIBEXECDIR=lib \ + -DKDE_INSTALL_QMLDIR=lib/qt/qml \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}