core/quilt/PKGBUILD

28 lines
931 B
Bash
Raw Normal View History

2013-06-19 19:14:45 +08:00
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
#contributions from Arch: https://www.archlinux.org/packages/community/any/quilt/
2010-06-13 08:20:10 +08:00
pkgname=quilt
2013-06-19 19:14:45 +08:00
pkgver=0.60
2012-02-02 15:55:51 +08:00
pkgrel=1
pkgdesc='Manage a series of patches by keeping track of the changes each patch makes'
2013-06-19 19:14:45 +08:00
arch=('x86_64')
2012-02-02 15:55:51 +08:00
url='http://savannah.nongnu.org/projects/quilt'
license=('GPL2')
depends=('diffstat' 'gawk' 'patch' 'diffutils' 'gettext')
source=("http://savannah.nongnu.org/download/quilt/${pkgname}-${pkgver}.tar.gz")
2013-06-19 19:14:45 +08:00
md5sums=('058a08a9b626bdec9ec8c519dc92158c')
2010-06-13 08:20:10 +08:00
build() {
2012-02-02 15:55:51 +08:00
cd ${pkgname}-${pkgver}
2013-06-19 19:14:45 +08:00
./configure --prefix=/usr --mandir=/usr/share/man --without-rpmbuild
2012-02-02 15:55:51 +08:00
make
2011-08-31 23:19:55 +08:00
}
package() {
2012-02-02 15:55:51 +08:00
cd ${pkgname}-${pkgver}
make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
2013-06-19 19:14:45 +08:00
# move bash completion in right place
install -d -m 755 "$pkgdir/usr/share/bash-completion"
mv "$pkgdir/etc/bash_completion.d" "$pkgdir/usr/share/bash-completion/completions"
2010-06-13 08:20:10 +08:00
}
2011-08-31 23:19:55 +08:00