Compare commits
4 commits
55a52f05b5
...
8b4ac9d079
Author | SHA1 | Date | |
---|---|---|---|
8b4ac9d079 | |||
b351738a55 | |||
8852d8c358 | |||
202b32bcd4 |
1 changed files with 5 additions and 5 deletions
|
@ -157,7 +157,6 @@ depends="
|
||||||
uvicorn
|
uvicorn
|
||||||
"
|
"
|
||||||
makedepends="go npm"
|
makedepends="go npm"
|
||||||
# checkdepends scooped up by poetry due to number
|
|
||||||
checkdepends="
|
checkdepends="
|
||||||
py3-pip
|
py3-pip
|
||||||
py3-coverage
|
py3-coverage
|
||||||
|
@ -259,7 +258,8 @@ with open(\"local.env.yml\", \"w\") as _config:
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
msg "Packaging $pkgname"
|
msg "Packaging $pkgname"
|
||||||
local destdir="$pkgdir"/usr/share/webapps/authentik
|
local prefix="/usr/share/webapps"
|
||||||
|
local destdir="$pkgdir"$prefix/authentik
|
||||||
|
|
||||||
# authentik install
|
# authentik install
|
||||||
install -d -m755 \
|
install -d -m755 \
|
||||||
|
@ -268,7 +268,7 @@ package() {
|
||||||
"$pkgdir"/usr/bin \
|
"$pkgdir"/usr/bin \
|
||||||
"$pkgdir"/usr/share/doc
|
"$pkgdir"/usr/share/doc
|
||||||
|
|
||||||
cp -rl authentik lifecycle locale tests blueprints web/dist web/authentik \
|
cp -rl authentik lifecycle locale tests blueprints \
|
||||||
"$destdir"/
|
"$destdir"/
|
||||||
|
|
||||||
cp -rl web/dist web/authentik \
|
cp -rl web/dist web/authentik \
|
||||||
|
@ -281,11 +281,11 @@ package() {
|
||||||
"$builddir"/proxy \
|
"$builddir"/proxy \
|
||||||
"$builddir"/manage.py
|
"$builddir"/manage.py
|
||||||
|
|
||||||
cp -rl website/build "$pkgdir"/usr/share/doc/
|
cp -rl website/build/ "$pkgdir"/usr/share/doc/authentik/
|
||||||
|
|
||||||
# symbolic bin links to usr/bin
|
# symbolic bin links to usr/bin
|
||||||
for i in server proxy ldap radius; do
|
for i in server proxy ldap radius; do
|
||||||
ln -s "$destdir"/$i "$pkgdir"/usr/bin/authentik-$i
|
ln -s $prefix/authentik/$i "$pkgdir"/usr/bin/authentik-$i
|
||||||
done
|
done
|
||||||
|
|
||||||
# openrc install
|
# openrc install
|
||||||
|
|
Loading…
Add table
Reference in a new issue