fastapi-dls/PKGBUILD

20 lines
737 B
Bash
Raw Normal View History

2022-12-28 14:24:04 +00:00
# Maintainer: Oscar Krause <oscar.krause@collinwebdesigns.de>
pkgname=fastapi-dls
pkgver=1.0.0
2022-12-28 14:57:55 +00:00
pkgrel=1
2022-12-28 14:24:04 +00:00
pkgdesc="Minimal Delegated License Service (DLS)."
2022-12-28 14:57:55 +00:00
arch=('any') # x86_64?
2022-12-28 14:24:04 +00:00
url="https://git.collinwebdesigns.de/oscar.krause/fastapi-dls"
#license=('MIT')
depends=('python3' 'python-fastapi' 'uvicorn' 'python-dotenv' 'python-dateutil' 'python-jose' 'python-sqlalchemy' 'python-pycryptodome' 'python-markdown' 'openssl')
2022-12-28 14:57:55 +00:00
source=('README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py')
sha512sums=("SKIP")
2022-12-28 14:24:04 +00:00
package() {
2022-12-28 14:57:55 +00:00
mkdir -p "${pkgdir}/usr/share"
cp "${srcdir}/README.md" "${pkgdir}/usr/share/README.md"
cp "${srcdir}/version.env" "${pkgdir}/usr/share/version.env"
cp -r "${srcdir}/app" "${pkgdir}/usr/share"
2022-12-28 14:24:04 +00:00
}