diff options
author | TheJackiMonster | 2021-09-06 22:55:49 +0200 |
---|---|---|
committer | TheJackiMonster | 2021-09-06 22:55:49 +0200 |
commit | eaaa35115cbb75dfca23df056e05ce445352cefa (patch) | |
tree | f4c10ce4acefef7815964abb8982d808246bc926 | |
parent | 2826c19313376bba96bd18dfe90b5d44ff814b9a (diff) | |
download | aur-eaaa35115cbb75dfca23df056e05ce445352cefa.tar.gz |
Adjusted version and license
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 9 deletions
@@ -1,15 +1,16 @@ pkgbase = protonup-git pkgdesc = Install and Update Proton-GE - pkgver = 0.1.3 - pkgrel = 2 + pkgver = 0.1.4.r2.gf60ee76 + pkgrel = 1 url = https://github.com/AUNaseef/protonup arch = any - license = GPL + license = GPL3 makedepends = python-setuptools makedepends = git depends = python depends = python-requests provides = protonup + conflicts = protonup options = !emptydirs source = git+https://github.com/AUNaseef/protonup.git sha256sums = SKIP @@ -2,22 +2,23 @@ pkgname=protonup-git _realname=protonup -pkgver=0.1.3 -pkgrel=2 +pkgver=0.1.4.r2.gf60ee76 +pkgrel=1 pkgdesc="Install and Update Proton-GE" arch=('any') url="https://github.com/AUNaseef/protonup" -license=('GPL') +license=('GPL3') depends=('python' 'python-requests') makedepends=('python-setuptools' 'git') +provides=(protonup) +conflicts=(protonup) options=(!emptydirs) source=("git+https://github.com/AUNaseef/$_realname.git") sha256sums=('SKIP') -provides=('protonup') pkgver() { - cd "$srcdir/$_realname" - cat setup.cfg | grep 'version = ' | awk '{print $3}' + cd "$srcdir/$_realname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { |