PKGBUILDs/extra/sharutils/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
792 B
Bash

# $Id: PKGBUILD 35893 2009-04-18 02:46:00Z eric $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
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/*
}