summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 602e037b7a22e40376e40277e9513df2c968f467 (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
# Maintainer: Gabriel Jensen
pkgname=u8c
pkgver=25.0.0
pkgrel=1
pkgdesc="Library for Unicode manipulation."
arch=("any")
url="https://mandelbrot.dk/delta/u8c"
makedepends=("git")
source=("git+https://mandelbrot.dk/delta/u8c.git")
license=("AGPL3")
sha512sums=("SKIP")
pkgver() {
	cd "$srcdir/$pkgname"
	printf "%s.0.0" "$(($(git rev-list --count HEAD) - 1))"
}
build() {
	cd "$srcdir/$pkgname"
	make -j$(nproc)
}
package() {
	cd "$srcdir/$pkgname"
	make DESTDIR="$pkgdir/usr" thrdsafe=1 install
}