summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 140450d8452fa2ae37f7135d547a92accef9adc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Yigit Sever <yigit at yigitsever dot com>
pkgname=python-html-text
_pkgname=html-text
pkgver=0.5.2
pkgrel=1
pkgdesc="Python library to extract text from HTML"
arch=('any')
url="https://github.com/TeamHG-Memex/html-text"
license=('MIT')
depends=('python-lxml')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('c75a1da10d649f55162446de57f98374059a998071110a343815841286a442f9')

build() {
  cd "${_pkgname}-${pkgver}"
	python setup.py build
}

package() {
	cd "${_pkgname}-${pkgver}"
	python setup.py install --root="$pkgdir" --optimize=1
}