summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46129ae0e2520d685fb9cd172a2af11adcdc59e5 (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
34
35
36
37
38
39
# Maintainer: Armin Preiml <apreiml@strohwolke.at>
pkgname=hare-gi-git
_pkgname=hare-gi
pkgver=r39.eac0271
pkgrel=1
license=("MPL2")
pkgdesc="GObject Introspection code generator for Hare"
provides=("hare-gi")
makedepends=(
	"git"
)

depends=(
	"hare"
	"gtk3"
	"gtk4"
	"gobject-introspection"
)

arch=("x86_64" "aarch64")
url="https://git.sr.ht/~yerinalexey/hare-gi"
source=("${_pkgname}::git+https://git.sr.ht/~yerinalexey/hare-gi")

pkgver() {
	cd "$srcdir/$_pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/$_pkgname"
	make
}

package() {
	cd "$srcdir/$_pkgname"
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha256sums=('SKIP')