summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 718578eaaea6ef4b00c082a58972e524ffb48ab9 (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
# Maintainer: Adiee5 <adiee5@adiee5.ct8.pl>
pkgname=progress-tracker
pkgver=1.6
pkgrel=1
pkgdesc="Simple kanban-style task organiser made in Adwaita style"
arch=("x86_64")
url="https://github.com/smolBlackCat/progress-tracker"
license=('MIT')
depends=('libadwaita' 'gtkmm-4.0' 'tinyxml2' 'glib2' 'glibc' 'gcc-libs' 'hicolor-icon-theme' 'libsigc++-3.0' 'glibmm-2.68')
makedepends=('cmake' 'catch2')
source=("$pkgname-$pkgver.tar.gz::https://github.com/smolBlackCat/progress-tracker/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("SKIP") # I really don't care enough, sorry

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

package() {
	cd "$pkgname-$pkgver"
	DESTDIR="$pkgdir" cmake --install build
	install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}