blob: 4f0d21d9cb5c4bc62edd27bc5f63ac65b785948c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Ali Nabipour <alinabipour01@gmail.com>
pkgname=fishui-git
_pkgname=fishui
pkgver=0.8.r0.gc88702a
pkgrel=1
pkgdesc="GUI library based on QQC2 for Cutefish applications"
arch=('x86_64')
url="https://github.com/cutefishos/fishui"
license=('GPL')
depends=('kwindowsystem' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-quickcontrols2')
makedepends=('git' 'extra-cmake-modules' 'ninja' 'qt5-tools')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
ninja
}
package() {
cd $_pkgname
DESTDIR="$pkgdir" ninja install
}
|