mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-11-23 23:41:06 +03:00
added PKGBUILD
This commit is contained in:
parent
32a512b89b
commit
62af76b95a
10
PKGBUILD
10
PKGBUILD
@ -7,13 +7,21 @@ arch=('any') # x86_64?
|
|||||||
url="https://git.collinwebdesigns.de/oscar.krause/fastapi-dls"
|
url="https://git.collinwebdesigns.de/oscar.krause/fastapi-dls"
|
||||||
#license=('MIT')
|
#license=('MIT')
|
||||||
depends=('python3' 'python-fastapi' 'uvicorn' 'python-dotenv' 'python-dateutil' 'python-jose' 'python-sqlalchemy' 'python-pycryptodome' 'python-markdown' 'openssl')
|
depends=('python3' 'python-fastapi' 'uvicorn' 'python-dotenv' 'python-dateutil' 'python-jose' 'python-sqlalchemy' 'python-pycryptodome' 'python-markdown' 'openssl')
|
||||||
source=('README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py')
|
source=() # 'README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py'
|
||||||
sha512sums=("SKIP")
|
sha512sums=("SKIP")
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "${pkgdir}/usr/share"
|
mkdir -p "${pkgdir}/usr/share"
|
||||||
|
|
||||||
|
echo "pkgdir: ${pkgdir}"
|
||||||
|
echo "srcdir: ${srcdir}"
|
||||||
|
echo "startDir: ${startDir}"
|
||||||
|
|
||||||
cp "${srcdir}/README.md" "${pkgdir}/usr/share/README.md"
|
cp "${srcdir}/README.md" "${pkgdir}/usr/share/README.md"
|
||||||
cp "${srcdir}/version.env" "${pkgdir}/usr/share/version.env"
|
cp "${srcdir}/version.env" "${pkgdir}/usr/share/version.env"
|
||||||
cp -r "${srcdir}/app" "${pkgdir}/usr/share"
|
cp -r "${srcdir}/app" "${pkgdir}/usr/share"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# https://bbs.archlinux.org/viewtopic.php?id=213287
|
||||||
|
# https://itsfoss.com/create-pkgbuild/
|
||||||
|
Loading…
Reference in New Issue
Block a user