summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorA Farzat2021-11-30 14:40:25 +0900
committerA Farzat2021-11-30 14:40:25 +0900
commit70d70a5f7b263cdf8ce1241ea806a0ae3924091b (patch)
tree27fdaded5555c8b8d5f29dfe87038af8beb20a3c
parent18da0325b7616a9a56db5073ef5bd486a02916a2 (diff)
downloadaur-70d70a5f7b263cdf8ce1241ea806a0ae3924091b.tar.gz
Update the source url to wiki recommendation
See https://wiki.archlinux.org/title/Python_package_guidelines#Source.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c651dfd9f9f..9ec7af105196 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tg-archive
pkgdesc = is a tool for exporting Telegram group chats into static websites, preserving the chat history like mailing list archives.
pkgver = 0.3.10
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/knadh/tg-archive
arch = any
license = MIT
@@ -14,7 +14,7 @@ pkgbase = tg-archive
depends = python-pillow
depends = python-yaml
depends = python-telethon
- source = https://files.pythonhosted.org/packages/90/54/2f0c5ec169ebfe0ab1c68c2b960acac248ab8b6b9ed6614208d484bed5b6/tg-archive-0.3.10.tar.gz
+ source = https://files.pythonhosted.org/packages/source/t/tg-archive/tg-archive-0.3.10.tar.gz
source = LICENSE
md5sums = 7ce6b76affff116facc2bf50e90e0a0b
md5sums = 55ddbd8fbf51b6f84a56155a16cd0a66
diff --git a/PKGBUILD b/PKGBUILD
index fa1e4148ab14..0ae0f3a682f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=tg-archive
pkgver=0.3.10
-pkgrel=1
+pkgrel=2
pkgdesc='is a tool for exporting Telegram group chats into static websites, preserving the chat history like mailing list archives.'
arch=(any)
url=https://github.com/knadh/tg-archive
@@ -10,8 +10,9 @@ license=('MIT')
depends=(python python-cryptg python-feedgen python-jinja python-pillow python-yaml python-telethon)
makedepends=(python-pip python-wheel)
conflicts=(${provides%=*}) # No quotes, to avoid an empty entry.
+# 'https://files.pythonhosted.org/packages/90/54/2f0c5ec169ebfe0ab1c68c2b960acac248ab8b6b9ed6614208d484bed5b6/tg-archive-0.3.10.tar.gz'
source=(
- 'https://files.pythonhosted.org/packages/90/54/2f0c5ec169ebfe0ab1c68c2b960acac248ab8b6b9ed6614208d484bed5b6/tg-archive-0.3.10.tar.gz'
+ "https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"
'LICENSE'
)
md5sums=(