1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Library for QtQuick apps with Material Design and Universal"
8 url='https://github.com/lirios/fluid'
10 depends=('qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-wayland')
12 makedepends=('liri-cmake-shared' 'nodejs-material-design-icons' 'qt5-tools' 'clang')
13 replaces=('qml-material')
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/fluid/archive/v$pkgver.tar.gz")
16 sha512sums=('01eae32283e8078baa11a9a2a802ec64cf22f37b2cace8d6ab1a4ac6c8d752ee0fae823cccba586fe0336165a72f66a59be8b613897ded01693b6e38cba8f536')
20 ln -s /usr/lib/node_modules/material-design-icons
21 sed -e '/git clone/d' -e '/rm -rf/d' -i scripts/fetch_icons.sh
22 scripts/fetch_icons.sh
27 cd $pkgname-$pkgver/build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr -DFLUID_USE_SYSTEM_LCS:BOOL=ON ..
32 cd $pkgname-$pkgver/build
33 make DESTDIR="$pkgdir" install