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 16:05:59 +00:00
|
|
|
source=('README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py')
|
2022-12-28 14:57:55 +00:00
|
|
|
sha512sums=("SKIP")
|
2022-12-28 14:24:04 +00:00
|
|
|
|
|
|
|
package() {
|
2022-12-28 14:57:55 +00:00
|
|
|
mkdir -p "${pkgdir}/usr/share"
|
|
|
|
|
2022-12-28 16:00:35 +00:00
|
|
|
echo "pkgdir: ${pkgdir}"
|
|
|
|
echo "srcdir: ${srcdir}"
|
|
|
|
echo "startDir: ${startDir}"
|
|
|
|
|
2022-12-28 14:57:55 +00:00
|
|
|
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
|
|
|
}
|
2022-12-28 16:00:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
# https://bbs.archlinux.org/viewtopic.php?id=213287
|
|
|
|
# https://itsfoss.com/create-pkgbuild/
|