vieter/PKGBUILD

31 lines
730 B
Bash
Raw Normal View History

# vim: ft=bash
# Maintainer: Jef Roosens
pkgbase='vieter'
2022-04-06 16:57:27 +02:00
pkgname='vieter'
2022-05-16 17:34:51 +02:00
pkgver='0.3.0_alpha.2'
pkgrel=1
depends=('glibc' 'openssl' 'libarchive' 'sqlite')
makedepends=('git' 'vieter-v')
2022-05-05 23:29:08 +02:00
arch=('x86_64' 'aarch64')
url='https://git.rustybever.be/vieter/vieter'
license=('AGPL3')
source=("$pkgname::git+https://git.rustybever.be/vieter/vieter#tag=${pkgver//_/-}")
md5sums=('SKIP')
build() {
cd "$pkgname"
make prod
}
2022-04-06 16:57:27 +02:00
package() {
2022-02-24 22:06:14 +01:00
pkgdesc="Vieter is a lightweight implementation of an Arch repository server."
install -dm755 "$pkgdir/usr/bin"
install -Dm755 "$pkgname/pvieter" "$pkgdir/usr/bin/vieter"
install -dm755 "$pkgdir/usr/share/man/man1"
"$pkgname/pvieter" man "$pkgdir/usr/share/man/man1"
}