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"
|
||||
#license=('MIT')
|
||||
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")
|
||||
|
||||
package() {
|
||||
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}/version.env" "${pkgdir}/usr/share/version.env"
|
||||
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