updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vimmpc / PKGBUILD
blobe61ac3663455fd3219741da01393a061586b0926
1 # Maintainer: Laszlo Papp <djszapi2 at gmail.com>
2 pkgname=vimmpc
3 pkgver=20070410
4 pkgrel=2
5 pkgdesc="MPD controller from within Vim"
6 url="http://gavin.brokentrain.net/projects/vimmpc/"
7 license=("GPL")
8 arch=('i686')
9 source=(http://gavin.brokentrain.net/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz
10         http://svn.navi.cx/misc/trunk/python/bemused/mpdclient2.py)
11 md5sums=('307c35cf91cfdd256ff878c6d6f38fb0'
12          'abdd48b3aa487f9d4ad2055a62ced53c')
14 build() {
15     cd ${srcdir}/${pkgname}
16     install -d ${pkgdir}/usr/share/vim/plugin/ || return 1
17     sed -i 's/function TrackFoldText/function! TrackFoldText/g' $pkgname.vim
18     install -Dm 755 $pkgname.{vim,py} ${pkgdir}/usr/share/vim/plugin/ || return 1