summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9182f9dafb27d7539e4b9dfe2f794c82101b517 (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
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Cravix < dr dot neemous at gmail dot com >

pkgname=limnoria
_pkgname=Limnoria
pkgver=20180910
_pkgver=2018-09-10
pkgrel=1
pkgdesc="An IRC bot based on Supybot, with sqlite3 support and other features"
arch=('any')
url="https://github.com/ProgVal/Limnoria"
license=('3-clause BSD')
depends=('python2')
makedepends=('git')
optdepends=("python2-charade: Detect page's encoding"
            "python2-pytz: Enable Time plugin to calculate the time in specified timezone"
            "python2-dateutil: Enable Time plugin to parse the input time string"
            "python2-gnupg: GnuPG support"
            "python2-feedparser: RSS plugin support"
            #"python2-sqlalchemy: Alternative DB engine when no SQLite3 engine installed" 
            # But SQLite module has already been integrated into python package, so it doesn't matter
            "python2-socksipy-branch: SOCKS proxy support"
            #"python2-mock: For testing only"
            "python2-ecdsa: ECDSA support")
conflicts=('limnoria-git')
source=("https://github.com/ProgVal/${_pkgname}/archive/master-${_pkgver}.tar.gz")
md5sums=('ca04efa41385d89ab9bed523fc423621')

build() {
  cd "$srcdir/$_pkgname-master-${_pkgver}"
  
  python2 setup.py build
}

package() {
  cd "$srcdir/$_pkgname-master-${_pkgver}"

  python2 setup.py install --root="$pkgdir" || return 1
}