summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc615dc815887f958cfe296e4730c3fe7f38c6f0 (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
26
# Maintainer: gryffyn <aur@evan.mp>

pkgname=python-pytelegrambotapi-git
_pkgname=pyTelegramBotAPI
pkgver=r2434.e10517e
pkgrel=1
pkgdesc="Python Telegram bot api - git"
arch=('any')
url="https://github.com/eternnoir/pyTelegramBotAPI"
license=("GPL3")
conflicts=('python-pytelegrambotapi')
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}
}