2022-12-28 17:24:04 +03:00
|
|
|
# Maintainer: Oscar Krause <oscar.krause@collinwebdesigns.de>
|
|
|
|
pkgname=fastapi-dls
|
|
|
|
pkgver=1.0.0
|
2022-12-28 17:57:55 +03:00
|
|
|
pkgrel=1
|
2022-12-28 17:24:04 +03:00
|
|
|
pkgdesc="Minimal Delegated License Service (DLS)."
|
2022-12-28 17:57:55 +03:00
|
|
|
arch=('any') # x86_64?
|
2022-12-28 17:24:04 +03: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 19:05:59 +03:00
|
|
|
source=('README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py')
|
2022-12-28 17:57:55 +03:00
|
|
|
sha512sums=("SKIP")
|
2022-12-28 17:24:04 +03:00
|
|
|
|
|
|
|
package() {
|
2022-12-28 17:57:55 +03:00
|
|
|
mkdir -p "${pkgdir}/usr/share"
|
|
|
|
|
2022-12-28 19:00:35 +03:00
|
|
|
echo "pkgdir: ${pkgdir}"
|
|
|
|
echo "srcdir: ${srcdir}"
|
|
|
|
echo "startDir: ${startDir}"
|
|
|
|
|
2022-12-28 17:57:55 +03: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 17:24:04 +03:00
|
|
|
}
|
2022-12-28 19:00:35 +03:00
|
|
|
|
|
|
|
|
|
|
|
# https://bbs.archlinux.org/viewtopic.php?id=213287
|
|
|
|
# https://itsfoss.com/create-pkgbuild/
|