blob: 4d66cff26f92897b8f16c708e109cd2cd0897871 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: gryffyn <evanmicahp@gmail.com>
pkgname=python-pytelegrambotapi-git
_pkgname=pyTelegramBotAPI
pkgver=r956.36a228d
pkgrel=1
pkgdesc="Python Telegram bot api - git"
arch=('any')
url="https://github.com/eternnoir/pyTelegramBotAPI"
license=("GPL3")
depends=('python' 'python-requests')
makedepends=('git')
provides=('python-pytelegrambotapi')
source=("${_pkgname}"::"git+https://github.com/eternnoir/${_pkgname}")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${_pkgname}
python setup.py install --root ${pkgdir}
}
|