summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdo Roig-Maranges2021-05-22 19:43:19 +0200
committerAbdo Roig-Maranges2021-05-22 19:43:19 +0200
commitcc6e75d4ae6ea91d0c3d598363c7717849ce22b4 (patch)
tree5cefb51465d59fee5748f9f0e3aca61055523cca
parent2d8e2f4e9f7772caabae6891078d3e412caa035a (diff)
downloadaur-cc6e75d4ae6ea91d0c3d598363c7717849ce22b4.tar.gz
fix paths
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4cb111f4ebf..83163d13e28a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,7 @@ pkgbase = python-github3.py
depends = python-uritemplate
depends = python-dateutil
depends = python-jwcrypto
- source = github3-2.0.0.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/2.0.0.tar.gz
+ source = https://github.com/sigmavirus24/github3.py/archive/refs/tags/2.0.0.tar.gz
sha256sums = 3ee0481402d94f0737da5687e70d836b5a3dbe5567cb2d240cb0c616334a95a5
pkgname = python-github3.py
diff --git a/PKGBUILD b/PKGBUILD
index 280497ffefc6..2c4bdd01129c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,11 +9,11 @@ url="https://github.com/sigmavirus24/github3.py"
license=("custom:Modified BSD")
makedepends=("python-setuptools")
depends=("python" "python-requests" "python-uritemplate" "python-dateutil" "python-jwcrypto")
-source=("github3-$pkgver.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/$pkgver.tar.gz")
+source=("https://github.com/sigmavirus24/github3.py/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('3ee0481402d94f0737da5687e70d836b5a3dbe5567cb2d240cb0c616334a95a5')
build() {
- cd "${srcdir}/github3"
+ cd "github3.py-2.0.0"
python setup.py build
}
@@ -25,7 +25,7 @@ check() {
}
package() {
- cd "${srcdir}/github3"
+ cd "github3.py-2.0.0"
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
}