From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- python-html-text/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 python-html-text/PKGBUILD (limited to 'python-html-text/PKGBUILD') diff --git a/python-html-text/PKGBUILD b/python-html-text/PKGBUILD new file mode 100644 index 0000000..140450d --- /dev/null +++ b/python-html-text/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yigit Sever +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 +} -- cgit v1.2.3-70-g09d2