2022-05-10 19:30:26 +02:00
|
|
|
# vim: ft=bash
|
2022-02-22 20:46:28 +01:00
|
|
|
# Maintainer: Jef Roosens
|
|
|
|
|
|
|
|
pkgbase='vieter'
|
2022-04-06 16:57:27 +02:00
|
|
|
pkgname='vieter'
|
2022-05-10 19:30:26 +02:00
|
|
|
pkgver='0.3.0_alpha.1'
|
2022-02-22 20:46:28 +01:00
|
|
|
pkgrel=1
|
2022-05-10 19:30:26 +02:00
|
|
|
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'
|
2022-02-22 20:46:28 +01:00
|
|
|
license=('AGPL3')
|
2022-05-10 19:30:26 +02:00
|
|
|
source=("$pkgname::git+https://git.rustybever.be/vieter/vieter#tag=${pkgver//_/-}")
|
2022-02-22 20:46:28 +01:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$pkgname"
|
|
|
|
|
2022-04-21 09:07:16 +02:00
|
|
|
make prod
|
2022-02-22 20:46:28 +01:00
|
|
|
}
|
|
|
|
|
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."
|
2022-02-22 20:46:28 +01:00
|
|
|
|
2022-04-30 22:22:12 +02:00
|
|
|
install -dm755 "$pkgdir/usr/bin"
|
2022-05-10 19:30:26 +02:00
|
|
|
install -Dm755 "$pkgname/pvieter" "$pkgdir/usr/bin/vieter"
|
2022-02-22 20:46:28 +01:00
|
|
|
}
|