summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdf24c7a1690e6ea7baed32601ea43f8d1483b99 (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
# Maintainer: theguy147 <yakamoz147 (at) protonmail (dot) com>
# Maintainer: Marco A Rojas <marco.rojas@zentek.com.mx>

pkgname=twint-git
pkgver=20200426.d9d0d68
pkgrel=1
pkgdesc="An advanced Twitter scraping & OSINT tool. (git version)"
url="https://github.com/twintproject/twint"
makedepends=('python-setuptools')
license=('MIT')
conflicts=('twint')
arch=('any')
source=("$pkgname::git+https://github.com/twintproject/twint.git")
sha256sums=('SKIP')

pkgver() {
    cd "$pgkname"
    git log -1 --format=%cd.%h --date=short|tr -d -
}

build() {
    cd "$pkgname"
    python setup.py build
}

package() {
    cd "$pkgname"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}