#!/bin/bash # gtar # # Douglas Thrift # # $Id$ name=gtar version=1.16.1 revision=0 categories=(archivers sysutils) description='GNU version of the traditional tar archiver' url='http://www.gnu.org/software/tar/tar.html' depends=('base/glibc') sources=(`name=tar site_gnu tar-$version.tar.bz2` gtar.1 grmt.8) sourcedir=tar-$version function build() { gnu_configure --prefix=/usr --program-prefix=g --bindir=/bin --infodir=/usr/share/info --libexecdir=/usr/sbin || return $? install -dv $package/usr/share/man/man{1,8} || return $? install -v -m 0644 $source/gtar.1 $package/usr/share/man/man1 || return $? install -v -m 0644 $source/grmt.8 $package/usr/share/man/man8 }