summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 419e68cbfa5539f3d663015ff58bf206d53d148e (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: Maarten de Boer <info@maartendeboer.net>
pkgname=forge-sparks
pkgver=0.3.0
pkgrel=1
pkgdesc='Simple notifier app with support for Github, Gitea and Forgejo'
arch=('x86_64' 'aarch64')
url='https://github.com/rafaelmardojai/forge-sparks'
license=('MIT')
depends=('gjs>=1.72' 'gtk4>=4.10' 'libadwaita>=1.5.0' 'libsoup3>=3.0' 'libsecret>=0.20' 'libportal>=0.7' 'hicolor-icon-theme' 'dconf')
makedepends=('git' 'meson' 'ninja')

source=("forge-sparks-${pkgver}::git+https://github.com/rafaelmardojai/forge-sparks.git#tag=${pkgver}")

sha256sums=('f5d48a23cc71d41c11ad80605b0436aca1f41c2a25568e087724dc82fecc8464')

prepare() {
	cd "$pkgname-$pkgver"
	
	git submodule update --init
}

build() {
	arch-meson "$pkgname-$pkgver" build
	meson compile -C build
}

package() {
	meson install -C build --destdir "$pkgdir"

	cd "$pkgname-$pkgver"

	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}