summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a8a200e4fe2a3325a4a6c71936afb08a2934af6 (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
pkgname=turtlico-git
pkgver=0.5.0.r107.g043b23c
pkgrel=1
pkgdesc="The easy programming tool"
arch=('any')
url="https://turtlico.gitlab.io/"
license=('GPL3')
makedepends=('libgee' 'gtk3' 'gtksourceview4' 'json-glib' 'meson' 'vala')
depends=('python' 'tk' 'noto-fonts-emoji')
optdepends=('python-gpiozero: Raspberry PI Plugin'
	    'gstreamer: Multimedia plugin')
source=('git+https://gitlab.com/turtlico/turtlico.git')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
	arch-meson "${pkgname%-git}" build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}