summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95209defcd8f7bb476f312f9c87868ff2e0556dc (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: Marco A Rojas <marco.rojas@zentek.com.mx>

pkgbase='twint'
pkgname=('twint')
_module='twint'
pkgver='2.1.20'
pkgrel=1
pkgdesc="An advanced Twitter scraping & OSINT tool."
url="https://github.com/twintproject/twint"
depends=('python' 'python-aiohttp' 'python-aiodns' 'python-beautifulsoup4' 'python-cchardet' 'python-elasticsearch' 'python-pysocks' 'python-pandas' 'python-geopy' 'python-googletransx' 'python-schedule' 'python-fake-useragent' 'python-aiohttp-socks')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('b3b7671997e31ea5dff9f4cca0f83add07c3163fd7ab1dc8e44f9110eeb1965d')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}