diff options
author | Max | 2019-02-08 20:39:52 +1100 |
---|---|---|
committer | Max | 2019-02-08 20:39:52 +1100 |
commit | b8df2c013e531cac0e144fe818d6dc2ed57463f2 (patch) | |
tree | b2f0aeb05b7c064a2d3ccf92d46698116cb31aa8 | |
parent | 2e079c3228b0422e2de95fa6713c17a8ce17c7fa (diff) | |
download | aur-b8df2c013e531cac0e144fe818d6dc2ed57463f2.tar.gz |
bump version to 0.0.2
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = amdgpu-fan pkgdesc = Python daemon for controlling the fans on amdgpu cards - pkgver = 0.0.1 + pkgver = 0.0.2 pkgrel = 1 url = https://github.com/chestm007/amdgpu-fan arch = any @@ -11,7 +11,7 @@ pkgbase = amdgpu-fan depends = python-matplotlib depends = python-numpy depends = python-scipy - source = git+https://github.com/chestm007/amdgpu-fan/ + source = git+https://github.com/chestm007/amdgpu-fan/#tag=0.0.2 md5sums = SKIP pkgname = amdgpu-fan @@ -3,29 +3,29 @@ pkgname=amdgpu-fan pkgdesc="Python daemon for controlling the fans on amdgpu cards" -pkgver=0.0.1.r0.g0eeaa8e +pkgver=0.0.2 pkgrel=1 arch=('any') license=('GPL2') depends=('python' 'python-yaml' 'python-matplotlib' 'python-numpy' 'python-scipy') makedepends=('python-setuptools') url="https://github.com/chestm007/amdgpu-fan" -source=("git+https://github.com/chestm007/amdgpu-fan/") +source=("git+https://github.com/chestm007/amdgpu-fan/#tag=$pkgver") md5sums=('SKIP') pkgver() { - cd "$srcdir/amdgpu-fan" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "$srcdir/$pkgname" + git describe --long --tags | cut -n '-' -f 1 } build() { - cd "$srcdir/amdgpu-fan" + cd "$srcdir/$pkgname" sed -i "s/PROJECTVERSION/$pkgver/g" setup.py python setup.py build } package() { - cd "$srcdir/amdgpu-fan" + cd "$srcdir/$pkgname" sed -i "s/PROJECTVERSION/$pkgver/g" setup.py python setup.py install --prefix=/usr --root="$pkgdir" mkdir -p "$pkgdir/usr/lib/systemd/system" |