blob: 47787151604d79a30808ed96d6da6e01be80896c (
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
32
33
34
35
|
# Maintainer: Alexey Galakhov <agalakhov@gmail.com>
pkgname=upliftpowerplay-git
_name=upp
pkgver=r50.b7859f4
pkgrel=1
epoch=
pkgdesc="UPP: A tool for parsing, dumping and modifying data in Radeon PowerPlay tables"
arch=('x86_64')
url="https://github.com/sibradzic/upp"
license=('GPL3')
groups=()
depends=('python-click' 'python')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
conflicts=('upliftpowerplay')
provides=('upliftpowerplay')
changelog=
source=("upliftpowerplay-git::git+https://github.com/sibradzic/upp.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
#git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|