# Maintainer: huntedbytheirs pkgname=fastwc pkgver=0.1.0 pkgrel=1 pkgdesc="A wc replacement that beats GNU wc - SIMD kernels, mmap, threads" arch=('x86_64') url="https://git.spectoria.dev/huntedbytheirs/fastwc" license=('MIT') depends=('glibc') makedepends=('autoconf' 'automake' 'libtool') # requires a v0.1.0 tag on the Gitea remote; replace SKIP with the real # sha256sum once the tag exists (makepkg prints it on the first failed build) source=("$pkgname-$pkgver.tar.gz::https://git.spectoria.dev/huntedbytheirs/fastwc/archive/v$pkgver.tar.gz") sha256sums=('SKIP') build() { # Gitea archives extract to a directory named after the repo cd "$pkgname" autoreconf -fi ./configure --prefix=/usr make } package() { cd "$pkgname" make DESTDIR="$pkgdir" install }