mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
821 B
Bash
25 lines
821 B
Bash
# $ 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
|
|
}
|