blob: 4581597d5cd2f2ce7eb43a5c662f763775831f17 (
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
|
# Maintainer: Yiyao Yu <yuydevel at protonmail dot com>
_pkgname=musct
pkgname="${_pkgname}-git"
pkgver=0.0.r0.0
pkgrel=1
pkgdesc="Simple configuration unpacker written in python"
license=('GPL3')
url="https://gitlab.com/xythrez/musct"
arch=('any')
provides=('musct')
conflicts=('musct')
makedepends=('git')
optdepends=('libyaml: For native yaml parsing')
depends=('python' 'python-setuptools' 'python-pyaml')
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver(){
git -C "${_pkgname}" describe --long --tags | sed "s/-/.r/;s/-/./g"
}
package(){
cd $_pkgname
python setup.py install -O1 --root="$pkgdir"
}
|