vieter/PKGBUILD

35 lines
771 B
Bash
Raw Permalink Normal View History

# Maintainer: Jef Roosens
pkgbase='vieter'
2022-04-06 16:57:27 +02:00
pkgname='vieter'
2022-04-07 21:36:33 +02:00
pkgver=0.1.0.rc1.r117.gc3ac00f
pkgrel=1
2022-02-24 14:00:40 +01:00
depends=('glibc' 'openssl' 'libarchive' 'gc')
2022-02-24 14:18:25 +01:00
makedepends=('git' 'gcc')
arch=('x86_64' 'aarch64' 'armv7')
url='https://git.rustybever.be/Chewing_Bever/vieter'
license=('AGPL3')
source=($pkgname::git+https://git.rustybever.be/Chewing_Bever/vieter#branch=dev)
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
# Build the compiler
2022-02-24 14:00:40 +01:00
CFLAGS= make v
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"
}