summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a10e351e6466754b9f580e197790b3dea400bb58 (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.r5.g85af59f
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
}