24 lines
652 B
Bash
24 lines
652 B
Bash
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/"
|
|
}
|