summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 452ae26ae0aa5e93bb395d9a2ddf19a43ce25dc0 (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: Posi <posi1981@gmail.com>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: LinArcx <linarcx at gmail.com>
pkgname=kindd
pkgver=2.1.0
pkgrel=3
pkgdesc="A Kindful dd GUI written in Qt Quick"
arch=('any')
url="https://github.com/LinArcX/Kindd"
license=('GPL3')
depends=('polkit' 'qt5-quickcontrols' 'qt5-quickcontrols2'
         'qt5-graphicaleffects' 'qt5-svg' 'hicolor-icon-theme')
makedepends=('cmake' 'qt5-base')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('e596f1b1577ff3e83a779e6181252ae2f09731f513d17dd6b95cbc2cf204654f')

build() {
	cmake -B build -S "$pkgname-$pkgver" \
		-DCMAKE_BUILD_TYPE='None' \
		-DCMAKE_INSTALL_PREFIX='/usr' \
		-Wno-dev
	make -C build
}

package() {
	cd "$pkgname-$pkgver"
	install -Dm755 "$srcdir/build/core/$pkgname" -t "$pkgdir/usr/bin"
	install -Dm644 "assets/appconf/$pkgname.desktop" -t \
		"$pkgdir/usr/share/applications"
	install -Dm644 "assets/appconf/$pkgname.svg" -t \
		"$pkgdir/usr/share/icons/hicolor/scalable/apps"
}