blob: 8f78015e3a76941c0ed68cd27b6f57061a7fe3d5 (
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
|
# $Id: PKGBUILD 106236 2011-01-15 15:15:05Z giovanni $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
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
}
|