summaryrefslogtreecommitdiffstats
path: root/abs/core/sharutils/PKGBUILD
blob: 308051009dd252dbfa20fe43831b81e8f697668a (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
25
26
27
28
29
30
31
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/*
}