diff options
author | haawda | 2023-01-21 19:48:42 +0100 |
---|---|---|
committer | haawda | 2023-01-21 19:48:42 +0100 |
commit | 4aa1aa8ad216eb18f4d9449f8bde5bc62d0f620a (patch) | |
tree | da0b93a5f1a7509a2d42d727ad2f237562ac3709 | |
parent | 32d91e1d74ea6dc75847d9580b12a1907907e752 (diff) | |
download | aur-4aa1aa8ad216eb18f4d9449f8bde5bc62d0f620a.tar.gz |
remove
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 6 insertions, 30 deletions
@@ -1,10 +1,9 @@ pkgbase = soccer-cli-git pkgdesc = Soccer for Hackers - a CLI for all the football scores. - pkgver = 20190116_r298.472e9f4 - pkgrel = 3 + pkgver = 20211129_r306.04932b6 + pkgrel = 1 epoch = 1 url = https://github.com/architv/soccer-cli - install = soccer-cli-git.install arch = any license = MIT makedepends = git @@ -13,13 +12,4 @@ pkgbase = soccer-cli-git source = git+https://github.com/architv/soccer-cli.git md5sums = SKIP -pkgname = python2-soccer-cli-git - depends = python2-click - depends = python2-requests - provides = python2-soccer-cli - -pkgname = python-soccer-cli-git - depends = python-click - depends = python-requests - provides = python-soccer-cli - +pkgname = soccer-cli-git @@ -1,11 +1,10 @@ # Contributor: Alexandre Jesus <adbjesus@gmail.com> # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> -pkgbase=soccer-cli-git -pkgname=('python2-soccer-cli-git' 'python-soccer-cli-git') +pkgname=soccer-cli-git epoch=1 -pkgver=20190116_r298.472e9f4 -pkgrel=3 +pkgver=20211129_r306.04932b6 +pkgrel=1 pkgdesc="Soccer for Hackers - a CLI for all the football scores." arch=('any') url="https://github.com/architv/soccer-cli" @@ -13,7 +12,6 @@ license=('MIT') makedepends=('git' 'python' 'python2') source=('git+https://github.com/architv/soccer-cli.git') md5sums=('SKIP') -install="${pkgbase}.install" pkgver() { cd ${pkgbase%-git} @@ -27,21 +25,9 @@ prepare() { sed -i -e 's/requests==2/requests>=2/' setup.py cd .. - cp -r ${pkgbase%-git} ${pkgbase%-git}2 cp -r ${pkgbase%-git} ${pkgbase%-git}3 } -package_python2-soccer-cli-git() { - depends=('python2-click' 'python2-requests') - provides=('python2-soccer-cli') - cd ${pkgbase%-git}2 - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE - - python2 setup.py install --root="$pkgdir/" --optimize=1 - mv "$pkgdir"/usr/bin/soccer "$pkgdir"/usr/bin/soccer2 -} - package_python-soccer-cli-git() { depends=('python-click' 'python-requests') provides=('python-soccer-cli') |