# $Id: PKGBUILD 197459 2013-10-26 07:19:12Z eric $ # Maintainer: Eric Belanger # Contributor: Tom Newsom pkgname=slang pkgver=2.2.4 pkgrel=3 pkgdesc="S-Lang is a powerful interpreted language" arch=('i686' 'x86_64' 'mips64el') url="http://www.jedsoft.org/slang/" license=('GPL') depends=('pcre' 'zlib') backup=('etc/slsh.rc') options=('!makeflags') source=(ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2{,.asc}) md5sums=('7fcfd447e378f07dd0c0bae671fe6487' 'SKIP') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install-all }