-
Notifications
You must be signed in to change notification settings - Fork 16
/
PKGBUILD
31 lines (27 loc) · 786 Bytes
/
PKGBUILD
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
# Maintainer : Andrew Clunis <andrew@orospakr.ca>
# Contributor: Ben R <thebenj88 *AT* gmail *DOT* com>
# Contributor : Loïc Bidoux <loic.bidoux [at] owndata.org>
pkgname=vrms-arch
pkgver=0.1.0.r2.g96957a5
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"
}