diff options
Diffstat (limited to 'extra/sharutils/PKGBUILD')
-rw-r--r-- | extra/sharutils/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/sharutils/PKGBUILD b/extra/sharutils/PKGBUILD new file mode 100644 index 000000000..308051009 --- /dev/null +++ b/extra/sharutils/PKGBUILD @@ -0,0 +1,32 @@ +# $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.10 +pkgrel=1 +pkgdesc="GNU shar makes so-called shell archives out of many files" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/sharutils/" +license=('GPL') +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 + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + + rm ${pkgdir}/usr/share/info/dir + gzip ${pkgdir}/usr/share/info/* +} |