38 lines
1017 B
Bash
38 lines
1017 B
Bash
# Maintainer: Renato Silva <br.renatosilva@gmail.com>
|
|
|
|
pkgname='quilt'
|
|
pkgver=0.67
|
|
pkgrel=1
|
|
pkgdesc='Manage large numbers of patches'
|
|
url='https://savannah.nongnu.org/projects/quilt'
|
|
msys2_references=(
|
|
"anitya: 4143"
|
|
)
|
|
makedepends=('autotools')
|
|
license=('GPL2+')
|
|
arch=('any')
|
|
|
|
depends=(bash bzip2 diffstat diffutils findutils gawk gettext gzip patch perl)
|
|
source=("https://savannah.nongnu.org/download/quilt/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('3be3be0987e72a6c364678bb827e3e1fcc10322b56bc5f02b576698f55013cc2')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
./configure \
|
|
--prefix='/usr' \
|
|
--mandir='/usr/share/man' \
|
|
--without-rpmbuild
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
# Bash completion
|
|
mkdir "${pkgdir}/usr/share/bash-completion"
|
|
mv "${pkgdir}/usr/etc/bash_completion.d" "${pkgdir}/usr/share/bash-completion/completions"
|
|
}
|