vieter/PKGBUILD

33 lines
720 B
Bash
Raw Normal View History

# Maintainer: Jef Roosens
pkgbase='vieter'
2022-04-06 16:57:27 +02:00
pkgname='vieter'
pkgver=0.2.0.r25.g20112b8
pkgrel=1
2022-05-05 23:29:08 +02:00
depends=('glibc' 'openssl' 'libarchive' 'gc' 'sqlite')
makedepends=('git' 'gcc' 'vieter-v')
2022-05-05 23:29:08 +02:00
arch=('x86_64' 'aarch64')
url='https://git.rustybever.be/vieter/vieter'
license=('AGPL3')
2022-05-05 23:29:08 +02:00
source=($pkgname::git+https://git.rustybever.be/vieter/vieter#branch=dev)
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
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"
2022-02-24 14:00:40 +01:00
install -Dm755 "$pkgbase/pvieter" "$pkgdir/usr/bin/vieter"
}