summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 922c2829421921c8a61d060efeb63e4e8b473476 (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=1
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=('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
  CFLAGS= CPPFLAGS= LDFLAGS= GUILE_EFFECTIVE_VERSION=2.2 ./configure --prefix=/usr 
  make
}

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