diff options
-rw-r--r-- | abs/extra/slang/ChangeLog | 6 | ||||
-rw-r--r-- | abs/extra/slang/PKGBUILD | 31 |
2 files changed, 26 insertions, 11 deletions
diff --git a/abs/extra/slang/ChangeLog b/abs/extra/slang/ChangeLog index 450a2a2..61b535d 100644 --- a/abs/extra/slang/ChangeLog +++ b/abs/extra/slang/ChangeLog @@ -1,3 +1,9 @@ +2009-11-06 Eric Belanger <eric@archlinux.org> + + * slang 2.2.1-1 + * Upstream update + * Added zlib depends + 2008-12-19 Eric Belanger <eric@archlinux.org> * slang 2.1.4-1 diff --git a/abs/extra/slang/PKGBUILD b/abs/extra/slang/PKGBUILD index 16622d4..6905293 100644 --- a/abs/extra/slang/PKGBUILD +++ b/abs/extra/slang/PKGBUILD @@ -1,24 +1,33 @@ -# $Id: PKGBUILD 21963 2008-12-19 07:30:56Z eric $ +# $Id: PKGBUILD 120537 2011-04-25 07:37:13Z remy $ # Maintainer: Eric Belanger <eric@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=slang -pkgver=2.1.4 +pkgver=2.2.4 pkgrel=1 pkgdesc="S-Lang is a powerful interpreted language" arch=('i686' 'x86_64') -url="http://www.s-lang.org/" +url="http://www.jedsoft.org/slang/" license=('GPL') -depends=('glibc' 'pcre') +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=('3516f593bc04975844f26137c18275d2') -sha1sums=('5c97698f7dcd91834ce64a4dac476a3587851ead') +source=(ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('7fcfd447e378f07dd0c0bae671fe6487') build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc || return 1 - make || return 1 - make install-all DESTDIR=${pkgdir} || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install-all } |