diff options
author | root <root@rshg047.dnsready.net> | 2011-04-27 22:24:53 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-27 22:24:53 +0000 |
commit | 18d6577d511b9a1ac36eaae50060133a401e42a3 (patch) | |
tree | f681f9444a7a0a95916de40af82d3b805d5fb8d3 /extra/slang/PKGBUILD | |
parent | 69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff) |
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'extra/slang/PKGBUILD')
-rw-r--r-- | extra/slang/PKGBUILD | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/extra/slang/PKGBUILD b/extra/slang/PKGBUILD index 8f78015e3..6905293b6 100644 --- a/extra/slang/PKGBUILD +++ b/extra/slang/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 106236 2011-01-15 15:15:05Z giovanni $ +# $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.2.3 -pkgrel=2 +pkgver=2.2.4 +pkgrel=1 pkgdesc="S-Lang is a powerful interpreted language" arch=('i686' 'x86_64') url="http://www.jedsoft.org/slang/" @@ -12,17 +12,22 @@ 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') +source=(ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('7fcfd447e378f07dd0c0bae671fe6487') 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 + --sysconfdir=/etc + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install-all } |