summaryrefslogtreecommitdiffstats
path: root/abs/core/sharutils/PKGBUILD
blob: e1e3a7b209dfee38bf71b0bd08019ee4c0205b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 78003 2010-04-19 08:13:10Z dgriffiths $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

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/*
}