summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2019-11-18 19:07:01 +0800
committerlilac2019-11-18 19:07:01 +0800
commitfc5940489cae47c876cf7db40c5e1300a1a4ec5e (patch)
treeaf422467ac761aff1bc7478188e40f2c1ea0e9ac
parent5f8cffb7fb1d1f53c664004275e9eae47854f4ba (diff)
downloadaur-fc5940489cae47c876cf7db40c5e1300a1a4ec5e.tar.gz
update by lilac
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD27
2 files changed, 17 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d729faa3d6..e04abbccc9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = python-telethon
pkgdesc = Full-featured Telegram client library for Python 3
pkgver = 1.10.8
- pkgrel = 4
+ pkgrel = 9
url = https://github.com/LonamiWebs/Telethon
arch = any
license = MIT
makedepends = python-setuptools
- depends = python
depends = python-pyaes
depends = python-rsa
- source = https://files.pythonhosted.org/packages/source/t/telethon/Telethon-1.10.8.tar.gz
- md5sums = 96a0436661c40c1e152df5d5554be7b1
+ source = https://files.pythonhosted.org/packages/source/T/Telethon/Telethon-1.10.8.tar.gz
+ sha256sums = af88697e2e2faf724dd8c42ff50842bfaa6631f55ea3f8fc35ceb1dda6c11fec
pkgname = python-telethon
diff --git a/PKGBUILD b/PKGBUILD
index ea587dfe4ff..d6a576d5753 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,26 @@
-_pkgname=Telethon
+_name=Telethon
pkgname=python-telethon
pkgver=1.10.8
-pkgrel=4
+pkgrel=9
pkgdesc="Full-featured Telegram client library for Python 3"
-arch=('any')
+arch=(any)
url="https://github.com/LonamiWebs/Telethon"
-license=('MIT')
-depends=('python' 'python-pyaes' 'python-rsa')
-_name=${pkgname#python-}
+license=(MIT)
+depends=('python-pyaes' 'python-rsa')
makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('96a0436661c40c1e152df5d5554be7b1')
+
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('af88697e2e2faf724dd8c42ff50842bfaa6631f55ea3f8fc35ceb1dda6c11fec')
build() {
- cd "$srcdir/$_pkgname-$pkgver"
- LANG=en_US.UTF-8 python3 setup.py build
+ cd "$srcdir/$_name-$pkgver"
+ python3 setup.py build
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
- LANG=en_US.UTF-8 python3 setup.py install --root=$pkgdir --optimize=1 --skip-build
+ cd "$srcdir/$_name-$pkgver"
+ python3 setup.py install --root=$pkgdir --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-# vim:set sw=2 et:
+