# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=slang pkgver=2.2.3 pkgrel=1 pkgdesc="S-Lang is a powerful interpreted language" arch=('i686' 'x86_64') url="http://www.s-lang.org/" 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.gz) md5sums=('ffd7718a9808894413a0e0ee82a79335') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc || return 1 make || return 1 make DESTDIR="${pkgdir}" install-all || return 1 }