fix(ci): only download PKGBUILD instead of cloning entire repo

This commit is contained in:
Jef Roosens 2022-04-30 22:22:12 +02:00
parent 4a47c7bbdc
commit 60598f719c
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
2 changed files with 6 additions and 2 deletions

View file

@ -14,6 +14,7 @@ md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
@ -25,7 +26,7 @@ build() {
package() {
pkgdesc="Vieter is a lightweight implementation of an Arch repository server."
install -dm755 "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/bin"
install -Dm755 "$pkgbase/pvieter" "$pkgdir/usr/bin/vieter"
}