PKGBUILDs/community/pacman-contrib/PKGBUILD

26 lines
821 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $ Id: $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=pacman-contrib
pkgver=3.3.1
pkgrel=1
pkgdesc="Utilities for use with the pacman package manager"
arch=('any')
url="http://www.archlinux.org/pacman/"
license=('GPL')
depends=('pacman')
source=(ftp://ftp.archlinux.org/other/pacman/pacman-$pkgver.tar.gz)
md5sums=('21b5a12a0e7af4b39e20091354a3e3db')
build() {
cd ${srcdir}/pacman-${pkgver}/contrib
for script in bacman pacdiff paclist pacscripts pacsearch pactree; do
install -Dm755 ${script} ${pkgdir}/usr/bin/${script}
done
install -Dm644 PKGBUILD.vim ${pkgdir}/usr/share/vim/vimfiles/syntax/PKGBUILD.vim
install -dm755 ${pkgdir}/usr/share/vim/vimfiles/ftdetect
echo "au BufNewFile,BufRead PKGBUILD set filetype=PKGBUILD" \
> ${pkgdir}/usr/share/vim/vimfiles/ftdetect/PKGBUILD.vim
}