2022-05-10 19:30:26 +02:00
|
|
|
# vim: ft=bash
|
|
|
|
# Maintainer: Jef Roosens
|
|
|
|
|
|
|
|
pkgbase='vieter-git'
|
|
|
|
pkgname='vieter-git'
|
|
|
|
pkgver=0.2.0.r25.g20112b8
|
|
|
|
pkgrel=1
|
|
|
|
depends=('glibc' 'openssl' 'libarchive' 'sqlite')
|
|
|
|
makedepends=('git' 'vieter-v')
|
|
|
|
arch=('x86_64' 'aarch64')
|
|
|
|
url='https://git.rustybever.be/vieter/vieter'
|
|
|
|
license=('AGPL3')
|
|
|
|
source=("$pkgname::git+https://git.rustybever.be/vieter/vieter#branch=dev")
|
|
|
|
md5sums=('SKIP')
|
|
|
|
provides=('vieter')
|
|
|
|
conflicts=('vieter')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$pkgname"
|
|
|
|
|
|
|
|
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$pkgname"
|
|
|
|
|
|
|
|
make prod
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
pkgdesc="Vieter is a lightweight implementation of an Arch repository server."
|
|
|
|
|
|
|
|
install -dm755 "$pkgdir/usr/bin"
|
|
|
|
install -Dm755 "$pkgname/pvieter" "$pkgdir/usr/bin/vieter"
|
2022-06-01 13:59:52 +02:00
|
|
|
|
|
|
|
install -dm755 "$pkgdir/usr/share/man/man1"
|
|
|
|
./vieter man "$pkgdir/usr/share/man/man1"
|
2022-05-10 19:30:26 +02:00
|
|
|
}
|