blob: 5e0c6aa37e39c54476b6dde2f0b78eceacc64e1e (
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
28
29
30
31
|
# Contributor: Andrew Clunis <andrew@orospakr.ca>
# Contributor: Ben R <thebenj88 *AT* gmail *DOT* com>
# Maintainer: Loïc Bidoux <loic.bidoux [at] owndata.org>
pkgname=vrms-arch
pkgver=0.1.0.r14.gf9d0964
pkgrel=1
pkgdesc="vrms for ArchLinux"
arch=('any')
url="https://github.com/orospakr/${pkgname}"
license=('custom:BSD3')
makedepends=('git')
depends=('python' 'pyalpm')
source=("git+https://github.com/orospakr/${pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/v*//'
}
build() {
cd "$srcdir/${pkgname}"
python setup.py build
}
package() {
cd "$srcdir/${pkgname}"
python setup.py install --root=${pkgdir}
install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|