summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae7d77e2768c5a3137eca52ccba48c2924dc5377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Zhanibek Adilbekov <zhanibek.adilbekov@protornmail.com>
pkgname=vim-lastplace
pkgver=3.1.1
pkgrel=1
pkgdesc="Intelligently reopen files at your last edit position in Vim."
arch=('any')
url="https://github.com/farmergreg/vim-lastplace"
license=('MIT')
depends=('vim')
source=("$pkgname-$pkgver.tar.gz::https://github.com/farmergreg/vim-lastplace/archive/v$pkgver.tar.gz")
md5sums=('7a688354f5e3d69f9a898f9a4f471fbf')

package() {
	mkdir -p "$pkgdir/usr/share/vim/vimfiles/"{plugin,doc}
	cd "$pkgname-$pkgver"
	cp -r plugin/* "$pkgdir/usr/share/vim/vimfiles/plugin/"
	cp -r doc/* "$pkgdir/usr/share/vim/vimfiles/doc/"
	mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
	cp LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}