aports/testing/vcsh/APKBUILD
2023-06-08 21:45:15 +00:00

35 lines
834 B
Text

# Contributor: Martin Kühl <martin.kuehl@posteo.net>
# Maintainer: Martin Kühl <martin.kuehl@posteo.net>
pkgname=vcsh
pkgver=2.0.5
pkgrel=0
pkgdesc="config manager based on Git"
url="https://github.com/RichiH/vcsh"
arch="noarch"
license="GPL-2.0-or-later"
depends="git"
subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
source="https://github.com/RichiH/vcsh/releases/download/v$pkgver/vcsh-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
e33be3ee1a6ed908704eb2e355840598595b711d47e5fb8d5b79e3d715d81faa410226641e374aecee98de2938117ec094a1fe3d21e54d68e3ae117d07185f6b vcsh-2.0.5.tar.xz
"