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