summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2d60e61a5860402af0d851bcc1cae9fd71d091f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
##
# Maintainer: Ben Sutter <benjaminsutter@outlook.com>

pkgname=guile-hall-git
pkgver=0.4.1.r30.g36dd0c6
pkgrel=1
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")
url="https://gitlab.com/a-sassmannshausen/guile-hall"
sha256sums=('SKIP')
options=(!strip)

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | sed 's+-+.r+' | sed 's+^v++' | tr - .
}

build() {
  cd ${pkgname%-git}
  autoreconf -vif
  ./configure --prefix=/usr
  make
}

check() {
  cd ${pkgname%-git}
  make check
}

package() {
  cd ${pkgname%-git}
  make DESTDIR="$pkgdir/" install
}