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

pkgname=guile-dsv
pkgver=0.7.2
pkgrel=2
pkgdesc="Delimiter-separated values (DSV) format parser for GNU Guile."
arch=('x86_64')
url="https://github.com/artyom-poptsov/guile-dsv"
license=('GPL-3.0-or-later')
depends=('guile' 'guile-lib' 'guile-smc')
makedepends=('help2man')
source=("https://github.com/artyom-poptsov/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('49cc236d58b9bfb35c795e4a62b0a9cb337ff1880d1d52202ca757d8354d785e')

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
}