1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 06:14:16 +00:00
Files
dotdrop/packages/arch-dotdrop-git/PKGBUILD
2018-02-11 12:26:34 +01:00

28 lines
634 B
Bash

# Maintainer: deadc0de6 <info@deadc0de.ch>
pkgname=dotdrop-git
pkgver=
pkgrel=1
pkgdesc="Save your dotfiles once, deploy them everywhere "
arch=('any')
url="https://github.com/deadc0de6/dotdrop"
license=('GPL')
groups=()
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-pyaml')
makedepends=('git')
provides=(dotdrop)
conflicts=(dotdrop)
source=("git+https://github.com/deadc0de6/dotdrop.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}
package() {
cd "${pkgname}"
python setup.py install --root="${pkgdir}/" --optimize=1
}