diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-05 05:44:34 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-05 05:44:34 (GMT) |
commit | 1179230d0bf8387236902130d2a3b0bbcf84fa1b (patch) | |
tree | b8ad6e341a7ccfba57fdfad6b6f658b161407bbd /abs/extra/slang/PKGBUILD | |
parent | c8e38bea3d91a3832d7e596cdf30a157c36e9c91 (diff) | |
download | linhes_pkgbuild-1179230d0bf8387236902130d2a3b0bbcf84fa1b.zip linhes_pkgbuild-1179230d0bf8387236902130d2a3b0bbcf84fa1b.tar.gz linhes_pkgbuild-1179230d0bf8387236902130d2a3b0bbcf84fa1b.tar.bz2 |
slang:Bumped to latest.
Diffstat (limited to 'abs/extra/slang/PKGBUILD')
-rw-r--r-- | abs/extra/slang/PKGBUILD | 31 |
1 files changed, 20 insertions, 11 deletions
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 } |