From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/slang/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 extra/slang/PKGBUILD (limited to 'extra/slang/PKGBUILD') diff --git a/extra/slang/PKGBUILD b/extra/slang/PKGBUILD new file mode 100644 index 000000000..8f78015e3 --- /dev/null +++ b/extra/slang/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 106236 2011-01-15 15:15:05Z giovanni $ +# Maintainer: Eric Belanger +# Contributor: Tom Newsom + +pkgname=slang +pkgver=2.2.3 +pkgrel=2 +pkgdesc="S-Lang is a powerful interpreted language" +arch=('i686' 'x86_64') +url="http://www.jedsoft.org/slang/" +license=('GPL') +depends=('glibc' 'pcre' 'zlib') +backup=('etc/slsh.rc') +options=('!makeflags') +source=(ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + ${pkgname}-2.2.3-faster-baud-rates.patch) +md5sums=('17e1864de999ae9535a9f7350a010427' + '4e22e58836100adfae34e824f5fbcb1c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}"/${pkgname}-2.2.3-faster-baud-rates.patch || return 1 + + ./configure --prefix=/usr \ + --sysconfdir=/etc || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install-all || return 1 +} -- cgit v1.2.3-54-g00ecf