diff options
author | Gabriel Jensen | 2023-05-23 17:20:55 +0200 |
---|---|---|
committer | Gabriel Jensen | 2023-05-23 17:20:55 +0200 |
commit | ff6b8d77163470f4ed6a7eff725c1059f99e6315 (patch) | |
tree | b22ed81e9093df31763de12249948f7de1ab58ab | |
parent | 516e1dd72293d7d54bc61e7b4601576098cd73dd (diff) |
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -1,23 +1,25 @@ # Maintainer: Gabriel Jensen -pkgname=u8c -pkgver=25.0.0 +pkgname=dux +pkgver=0.0.0_38.5976195 pkgrel=1 -pkgdesc="Library for Unicode manipulation." +pkgdesc="General purpose library." arch=("any") -url="https://mandelbrot.dk/delta/u8c" +url="https://mandelbrot.dk/dux" +depends=("zp") makedepends=("git") -source=("git+https://mandelbrot.dk/delta/u8c.git") -license=("AGPL3") +source=("git+https://mandelbrot.dk/dux") +license=("LGPL3") sha512sums=("SKIP") pkgver() { - cd "$srcdir/$pkgname" - printf "%s.0.0" "$(($(git rev-list --count HEAD) - 1))" + cd "${srcdir}/dux" + printf "%s_%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed "s/-\(dev\|rel\)//g" } build() { - cd "$srcdir/$pkgname" - make -j$(nproc) + cd "${srcdir}/dux" + make -C"dux" -j$(($(nproc)+0x1)) } package() { - cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/usr" thrdsafe=1 install + cd "${srcdir}/dux" + make -C"dux" HDRDIR="${pkgdir}/usr/include" LIBDIR="${pkgdir}/usr/lib" install } + |