summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Laß2023-07-30 14:52:00 +0200
committerMichael Laß2023-07-30 14:52:00 +0200
commitcd0bef9f0226c833b605870822f1e30de8e633f5 (patch)
tree5d9b27415a915793b27848e7664c0b07f1dfd9ff
parent1743f44c4e43ba4b6e5738908e66bdce85707372 (diff)
downloadaur-cd0bef9f0226c833b605870822f1e30de8e633f5.tar.gz
Give tarball a name and update .SRCINFO
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c5fa99c1fb4..d172488991b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,13 +5,14 @@ pkgbase = python-pygatt
url = https://github.com/peplin/pygatt
arch = any
license = custom:partly Apache, partly MIT
+ checkdepends = python-mock
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-nose
depends = python-pexpect
depends = python-pyserial
- source = https://github.com/peplin/pygatt/archive/refs/tags/v4.0.5.tar.gz
+ source = python-pygatt-4.0.5.tar.gz::https://github.com/peplin/pygatt/archive/refs/tags/v4.0.5.tar.gz
source = 0001-Remove-dependency-on-enum-compat.patch
sha256sums = fdfca26688b55f8d63800dbca6989bfbfff7796e0dcba3b020daffea34e9f224
sha256sums = 1485111d418ac0812751426bbbec76ef56f8d79b7740f41009f7f6cb7f2a1e1a
diff --git a/PKGBUILD b/PKGBUILD
index 7aa3c31c9713..9d9ccec3bf2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ arch=('any')
depends=(python-pexpect python-pyserial)
makedepends=(python-build python-installer python-wheel python-nose)
checkdepends=(python-mock)
-source=(https://github.com/peplin/${_module}/archive/refs/tags/v${pkgver}.tar.gz
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/peplin/${_module}/archive/refs/tags/v${pkgver}.tar.gz
0001-Remove-dependency-on-enum-compat.patch)
sha256sums=('fdfca26688b55f8d63800dbca6989bfbfff7796e0dcba3b020daffea34e9f224'
'1485111d418ac0812751426bbbec76ef56f8d79b7740f41009f7f6cb7f2a1e1a')