summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98038c09bdf07d801f456c31a06c2b16c861cef3 (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
37
38
39
40
41
42
43
44
45
46
47
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Nathan Kessler <nathant93 <at> gmail.com>
pkgname=scheme48
pkgver=1.9.2
pkgrel=1
epoch=0
pkgdesc="Scheme interpreter for experimentation"
arch=('i686' 'x86_64')
url="http://s48.org/"
license=('custom')
groups=()
depends=()
makedepends=(sh)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("http://s48.org/${pkgver}/scheme48-${pkgver}.tgz")
noextract=()
md5sums=('7a869c794ca7f67ea69e98a4f2fbd7b2')
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr CFLAGS="-Wno-error=implicit-int"
	make
}

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

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}