diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..629569e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +pkgname=zpaqfranz +pkgver=57.3 +pkgrel=1 +pkgdesc="advanced multiplatform fork of ZPAQ" +arch=('x86_64' 'aarch64') +license=('MIT') +url='https://github.com/fcorbelli/$pkgname' +makedepends=('gcc') +source=("https://github.com/fcorbelli/$pkgname/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('edcdf9a2207387db38ee5608ca64ae1e2d44262d2ce5f34b4f51e82912769a9c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + cp NONWINDOWS/Makefile "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" +}