summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6956ff86ba2173ef31648681bd4dbcfea411772 (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
25
26
27
# Maintainer: Thomas Heilberg <thomas at thomas42 dot net>

pkgname=mackup-git
pkgver=0.8.24
pkgrel=1
pkgdesc="a small Python utitlity to keep your application settings in sync."
arch=('any')
url="https://github.com/lra/mackup"
license=('GPL3')

depends=('python' 'python-docopt')
makedepends=('python' 'python-setuptools')
provides=('mackup')
conflicts=('mackup')

source=("git+https://github.com/lra/mackup.git")
md5sums=('SKIP')

pkgver() {
    cd "${pkgname%-git}"
    git describe --always --tags | sed 's|-|.|g'
}

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