diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..80224735ad59 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org> + +pkgname=python-pyptt +_pkgname=PyPtt +pkgver=0.9.17 +pkgrel=1 +pkgdesc='A PTT library that support PTT and PTT2' +arch=(any) +url='https://github.com/PttCodingMan/PyPtt' +license=(LGPL3) +depends=(python python-progressbar python-websockets python-uao + python-beautifulsoup4 python-requests) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('28d7038d52419259ecc5de2c53387af3954a1d54597413e3c94c9ce01c8a6931') + +build() { + cd $_pkgname-$pkgver + python setup.py build +} + +# no check() as testing requires a real PTT account + +package() { + cd $_pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} |