summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b71a0073c11f781f491300c564c88e18ea387324 (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
# Maintainer: Patrick McCarty <pnorcks at gmail dot com>

pkgname=guile-ini
pkgver=0.5.4
pkgrel=1
pkgdesc="A GNU Guile library for working with INI format"
arch=('x86_64')
url="https://github.com/artyom-poptsov/guile-ini"
license=('GPL-3.0-or-later')
depends=('guile' 'guile-lib' 'guile-smc')
source=("https://github.com/artyom-poptsov/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('68f7774ad214564caff1955c17ff506f897b3f555e89b942a31e6f64f3c85d87')

build() {
  cd "$pkgname-$pkgver"
  local sitedir=$(guile-config info sitedir)
  autoreconf -fi
  ./configure \
    --enable-silent-rules \
    --prefix=/usr \
    --with-guilesitedir=$sitedir
  make
}

check() {
  cd "$pkgname-$pkgver"
  make -k check
}

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