summaryrefslogblamecommitdiff
path: root/PKGBUILD
blob: f17e3ae2ff4879ce4c07ee390dedd533f2e91766 (plain) (tree)
1
2
3
4
5
6
7
8

                            
            



                                                                     
                          




                                                  
                                                               








                                          
# Maintainer: Gabriel Jensen
pkgname=u8c
pkgver=1.0.0
pkgrel=1
pkgdesc="C library for encoding, decoding, and printing UTF-8 bytes."
arch=("any")
url="https://mandelbrot.dk/delta/u8c"
makedepends=("git" "zstd")
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" install
}