summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorj.r2020-06-23 22:05:00 +0200
committerj.r2020-06-23 22:05:00 +0200
commit34c282b93423c4a64aa7e44e53d0c2c3b33b54f8 (patch)
treeb3814b5186ebbcb08d9f56d31ca18fe0043e6fb7 /PKGBUILD
downloadaur-34c282b93423c4a64aa7e44e53d0c2c3b33b54f8.tar.gz
Init with version 0.12.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d5d22e9f0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: j.r <j.r@jugendhacker.de>
+pkgname=python-telegram
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="Python API for the tdlib library. It helps you build your own Telegram clients."
+arch=(any)
+url="https://github.com/alexander-akhmetov/python-telegram"
+license=('MIT')
+depends=('python3')
+makedepends=()
+source=("https://github.com/alexander-akhmetov/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('ebf3e34648e21da96e6470474e0fd7eb')
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE $pkgdir/usr/share/license/$pkgname/LICENSE
+}