summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 05:44:34 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 05:44:34 (GMT)
commit1179230d0bf8387236902130d2a3b0bbcf84fa1b (patch)
treeb8ad6e341a7ccfba57fdfad6b6f658b161407bbd /abs
parentc8e38bea3d91a3832d7e596cdf30a157c36e9c91 (diff)
downloadlinhes_pkgbuild-1179230d0bf8387236902130d2a3b0bbcf84fa1b.zip
linhes_pkgbuild-1179230d0bf8387236902130d2a3b0bbcf84fa1b.tar.gz
linhes_pkgbuild-1179230d0bf8387236902130d2a3b0bbcf84fa1b.tar.bz2
slang:Bumped to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/slang/ChangeLog6
-rw-r--r--abs/extra/slang/PKGBUILD31
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
}