summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ae9f956fe1c55d5506ea07fa61f07358fb48b12 (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
#PKGBUILD was last modified on September 27, 2022 at 03:53 PM EDT by bms#
# Maintainer: Ben Sutter <benjaminsutter@outlook.com>

pkgname=guile-config-git
pkgver=0.5.1
pkgrel=1
pkgdesc="Configuration management library for GNU Guile (Git snapshot)"
arch=('i686' 'x86_64' 'aarch64')
license=('GPL')
makedepends=('git')
depends=('guile')
provides=("guile-config=$pkgver")
source=("${pkgname%-git}::git+https://gitlab.com/a-sassmannshausen/guile-config.git")
url="https://gitlab.com/a-sassmannshausen/guile-config"
sha256sums=('SKIP')

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

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

build() {
  cd "${pkgname%-git}"
  make
}

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