diff options
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..813ae18 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Gabriel Jensen +pkgname=u8c +pkgver=2 +pkgrel=1 +pkgdesc="C library for encoding, decoding, and printing UTF-8 bytes." +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" + git rev-list --count HEAD +} +build() { + cd "$srcdir/$pkgname" + make -j$(nproc) +} +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/usr" install +} |