void-packages/srcpkgs/quilt/template

26 lines
876 B
Bash

# Template file for 'quilt'
pkgname=quilt
version=0.66
revision=3
build_style=gnu-configure
configure_args="--without-rpmbuild --with-bash=/bin/bash"
hostmakedepends="perl"
# quilt is a bash script.
# All quilt's users use quilt-refresh, which requires perl
depends="patch perl bash"
short_desc="Tool for Working with Many Patches"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2.0-only"
homepage="http://savannah.nongnu.org/projects/quilt"
distfiles="http://download.savannah.gnu.org/releases/quilt/quilt-${version}.tar.gz"
checksum=314b319a6feb13bf9d0f9ffa7ce6683b06919e734a41275087ea457cc9dc6e07
do_install() {
make BUILD_ROOT=\"$DESTDIR\" install
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
# For sanity
rm -f ${DESTDIR}/usr/share/quilt/compat/{awk,bash,column}
}