summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 79722c8b4df499f8e55d16153bc2cf3e5cf2adb0 (plain) (blame)
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: Gabriel Jensen
pkgname=agbsum
pkgver=11
pkgrel=1
pkgdesc="GBA ROM header checksum patcher."
arch=("any")
url="https://mandelbrot.dk/agbsum"
makedepends=("cmake" "git")
source=("git+https://mandelbrot.dk/agbsum")
license=("AGPL3")
sha512sums=("SKIP")
pkgver() {
	cd "${srcdir}/agbsum"
	printf "%s" "$(git describe --abbrev=0)"
}
build() {
	cd "${srcdir}/agbsum"
	make -j$(($(nproc)+0x1))
}
package() {
	cd "${srcdir}/agbsum"
	make install BINDIR="${pkgdir}/usr/bin"
}