# $Id: PKGBUILD 78003 2010-04-19 08:13:10Z dgriffiths $ # Maintainer: Kevin Piche # Contributor: Tom Newsom pkgname=sharutils pkgver=4.6.3 pkgrel=3 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=('gettext' 'texinfo') install=sharutils.install source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/REL-${pkgver}/${pkgname}-${pkgver}.tar.gz) md5sums=('74127a560e59be6dfa8b59993eb0ca91') 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 rm ${pkgdir}/usr/share/info/dir gzip ${pkgdir}/usr/share/info/* }