summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ea903e56cb4bd9577f366219bc55bf6743eea01 (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=guile-reader
_gitname=guile-reader
pkgver=0.6.3
pkgrel=3
pkgdesc="a simple framework for building readers for GNU Guile"
url="http://www.nongnu.org/guile-reader"
arch=('i686' 'x86_64')
license=('GPL')
depends=('guile')
makedepends=('gcc9-bin' 'gperf' 'git')
source=("http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('38c2b444eadbb8c0cab78d90a44ec3ebff42bd410c5b84a91018cee7eb64d2bb')
options=('!strip')

build() {
  cd $pkgname-$pkgver
  autoreconf -i --force --verbose
  CC=gcc-9 CFLAGS= CPPFLAGS= LDFLAGS= GUILE_EFFECTIVE_VERSION=3.0 ./configure --prefix=/usr
  make
}

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