Skip to content

Instantly share code, notes, and snippets.

@yfwu
Created Mar 4, 2014
Embed
What would you like to do?
Scheme48's PKGBULID
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: juergen <juergen@archlinux.org>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Yu-Fu Wu <wennynnewenny@gmail.com>
pkgname=scheme48
pkgver=1.9.1
pkgrel=0
pkgdesc="Scheme 48 is an implementation of Scheme"
arch=('i686' 'x86_64')
license=(BSD)
depends=('glibc')
provides=('scheme48')
conflicts=('scheme48')
source=("http://www.s48.org/$pkgver/scheme48-$pkgver.tgz")
md5sums=('7b64ebda5d2e3b585412c0e09b3d0d64')
url="http://www.s48.org/"
noextract=("$pkgname-$pkgver.tgz")
build() {
tar -xvf $pkgname-$pkgver.tgz -C $srcdir/$pkgname-$pkgver
cd "$srcdir/$pkgname-$pkgver"
# patch -p1 -i "$srcdir/makefile.patch" || return 1
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install-no-doc
install -Dm644 "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment