diff options
author | lilac | 2019-11-18 19:07:01 +0800 |
---|---|---|
committer | lilac | 2019-11-18 19:07:01 +0800 |
commit | fc5940489cae47c876cf7db40c5e1300a1a4ec5e (patch) | |
tree | af422467ac761aff1bc7478188e40f2c1ea0e9ac | |
parent | 5f8cffb7fb1d1f53c664004275e9eae47854f4ba (diff) | |
download | aur-fc5940489cae47c876cf7db40c5e1300a1a4ec5e.tar.gz |
update by lilac
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 17 insertions, 17 deletions
@@ -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 @@ -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: + |