#PKGBUILD was last modified on October 04, 2022 at 01:37 PM EDT by bms# # Maintainer: Ben Sutter pkgname=guile-hall-git pkgver=0.4.1.r30.g36dd0c6 pkgrel=3 pkgdesc="Project manager and build tool for GNU guile (Git snapshot)" arch=('i686' 'x86_64' 'aarch64') license=('GPL') makedepends=('git') depends=('guile' 'guile-config' 'texinfo') optdepends=('guix: for GNU Guix integration') provides=("guile-hall=$pkgver") source=("${pkgname%-git}::git+https://gitlab.com/a-sassmannshausen/guile-hall.git" "guile-hall-git-xdg-fix.patch") url="https://gitlab.com/a-sassmannshausen/guile-hall" sha256sums=('SKIP' '18cdf8108554c2b3f581563367e095a30e9f107f0d9148dae4c1e508025a8845') options=(!strip) pkgver() { cd "${pkgname%-git}" git describe --tags | sed 's+-+.r+' | sed 's+^v++' | tr - . } prepare() { cd "${pkgname%-git}" git apply ../guile-hall-git-xdg-fix.patch autoreconf -vif ./configure --prefix=/usr } build() { cd "${pkgname%-git}" make } check() { cd "${pkgname%-git}" make check } package() { cd "${pkgname%-git}" make DESTDIR="$pkgdir" install }