summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0c02028fa748902b308fde630e80e79cee61a1fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: √Člie Bouttier <elie+aur@bouttier.eu>
pkgname=mvim-git
pkgver=v0.1.0.r13.g3945fd5
pkgrel=1
pkgdesc="Rename, move or delete files by editing their names with vim."
arch=(any)
url="https://github.com/bouttier/mvim"
license=('APACHE')
depends=('python')
makedepends=('git')
options=(!emptydirs)
source=("$pkgname"::git+"$url"#branch=master)
noextract=()
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$pkgname"
    git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
    cd "$srcdir/$pkgname"
    python setup.py install --root="$pkgdir/" --optimize=1
}