summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b957f595f206aba0ee8a286f398da3ff7a913235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Zhanibek Adilbekov <zhanibek.adilbekov@pm.me>
pkgname=vim-lastplace
pkgver=3.2.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=('24f767ea68db55e0ae52b72695fe3958')

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"
}