Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 824 Bytes
# Maintainer: ArchStrike <team@archstrike.org>
pkgname=python2-fbchat
_pkgname=fbchat
pkgver=1.4.2
pkgrel=1
pkgdesc="Facebook Chat (Messenger) for Python"
url="https://github.com/carpedm20/fbchat/"
depends=('python2-lxml' 'python2-requests' 'python2-beautifulsoup4' 'python2-enum34')
makedepends=('python2-setuptools')
license=('CUSTOM')
arch=('any')
source=("https://github.com/carpedm20/fbchat/archive/v${pkgver}.tar.gz")
sha512sums=('965a3616cdb29310d0f38cc54e809337c6f55d9a93eea2c8d599524e33aa76dd72c15408e12cd7cdf09bdb3fbdfa316955eb90cfd23b98a2aa1075ee49f0acc0')
build() {
cd ${_pkgname}-${pkgver}
python2 setup.py build
}
package() {
cd ${_pkgname}-${pkgver}
python2 setup.py install --root="${pkgdir}" -O1 --skip-build
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}