# $Id: PKGBUILD 35893 2009-04-18 02:46:00Z eric $ # Maintainer: Kevin Piche # Contributor: Tom Newsom pkgname=sharutils pkgver=4.6.3 pkgrel=2 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/* }