summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/sharutils/PKGBUILD32
-rw-r--r--abs/core/sharutils/sharutils.install2
2 files changed, 21 insertions, 13 deletions
diff --git a/abs/core/sharutils/PKGBUILD b/abs/core/sharutils/PKGBUILD
index e1e3a7b..3080510 100644
--- a/abs/core/sharutils/PKGBUILD
+++ b/abs/core/sharutils/PKGBUILD
@@ -1,24 +1,32 @@
-# $Id: PKGBUILD 78003 2010-04-19 08:13:10Z dgriffiths $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
+# $Id: PKGBUILD 98391 2010-11-08 19:40:29Z andrea $
+# Maintainer:
+# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sharutils
-pkgver=4.6.3
-pkgrel=3
+pkgver=4.10
+pkgrel=1
pkgdesc="GNU shar makes so-called shell archives out of many files"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.gnu.org/software/sharutils/"
license=('GPL')
-depends=('gettext' 'texinfo')
-install=sharutils.install
-source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/REL-${pkgver}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('74127a560e59be6dfa8b59993eb0ca91')
+depends=('perl' 'gettext' 'texinfo')
+install=${pkgname}.install
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('f918859228238d69e1ce78ccbec8f9e0')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-nls || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-nls
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
rm ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/*
}
diff --git a/abs/core/sharutils/sharutils.install b/abs/core/sharutils/sharutils.install
index 5c6a2e3..e8d9f8c 100644
--- a/abs/core/sharutils/sharutils.install
+++ b/abs/core/sharutils/sharutils.install
@@ -9,7 +9,7 @@ post_install() {
}
post_upgrade() {
- post_install $1
+ post_install
}
pre_remove() {