PKGBUILD for hedgedoc-tag-searcher
This commit is contained in:
parent
65599f76be
commit
65340158b3
|
@ -0,0 +1,23 @@
|
|||
pkgname=hedgedoc-tag-searcher
|
||||
pkgver=0.01
|
||||
pkgrel=1
|
||||
pkgdesc="Global search for Hedgedoc pads by tags"
|
||||
source=('hedgedoc-tag-searcher::git+https://github.com/Chaostreff-Potsdam/hedgedoc-tag-searcher.git#tag=v0.01')
|
||||
md5sums=('SKIP')
|
||||
|
||||
arch=("any")
|
||||
license=("MIT")
|
||||
makedepends=("git" "python-build" "python-installer" "python-wheel")
|
||||
depends=("python>=3" "python-flask" "python-flask-sqlalchemy" "python-pyaml" "python-dotenv" "python-psycopg2")
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname/"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname/"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
mkdir -p "$pkgdir/etc/webapps/$pkgname/"
|
||||
}
|
Loading…
Reference in New Issue