summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35d79a225840badcbddfdc3c0cbb392962c5b672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Vivien Maisonneuve <v dot maisonneuve at gmail dot com>
pkgname='dotploy-git'
pkgver=0.1.0.r25.g066bc59
pkgrel=1
pkgdesc='Deploy dotfiles using symlinks'
arch=('any')
license=('LGPL')
provides=("dotploy=$pkgver")
conflicts=('dotploy')
depends=('python' 'python-click' 'python-logbook' 'python-ruamel-yaml' 'python-setuptools')
makedepends=('git')
source=('dotploy::git+https://gitlab.com/vmaison/dotploy.git')
md5sums=('SKIP')

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

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