upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / fluid / trunk / PKGBUILD
blob863692b1379326e56de39ca0bd59694df6f7575b
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=fluid
4 pkgver=1.2.0
5 pkgrel=1
6 pkgdesc="Library for QtQuick apps with Material Design and Universal"
7 arch=('x86_64')
8 url='https://github.com/lirios/fluid'
9 license=('MPL')
10 depends=('qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-wayland')
11 # clang: for qdoc
12 makedepends=('liri-cmake-shared' 'nodejs-material-design-icons' 'qt5-tools' 'clang')
13 replaces=('qml-material')
14 groups=('liri')
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/fluid/archive/v$pkgver.tar.gz")
16 sha512sums=('01eae32283e8078baa11a9a2a802ec64cf22f37b2cace8d6ab1a4ac6c8d752ee0fae823cccba586fe0336165a72f66a59be8b613897ded01693b6e38cba8f536')
18 prepare() {
19   cd $pkgname-$pkgver
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
23   mkdir -p build
26 build() {
27   cd $pkgname-$pkgver/build
28   cmake -DCMAKE_INSTALL_PREFIX=/usr -DFLUID_USE_SYSTEM_LCS:BOOL=ON ..
31 package() {
32   cd $pkgname-$pkgver/build
33   make DESTDIR="$pkgdir" install