void-packages/srcpkgs/quilt/template

26 lines
919 B
Bash

# Template file for 'quilt'
pkgname=quilt
version=0.67
revision=1
build_style=gnu-configure
configure_args="--without-rpmbuild --with-bash=/bin/bash
--with-date=/bin/date --with-awk=/bin/awk --with-sed=/bin/sed
--with-column=/usr/bin/column"
hostmakedepends="perl ed tar"
# 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="Đoàn Trần Công Danh <congdanhqx@gmail.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=3be3be0987e72a6c364678bb827e3e1fcc10322b56bc5f02b576698f55013cc2
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
}