Skip to content

Commit

Permalink
Update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r authored Nov 26, 2024
1 parent 0c514be commit 8792295
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/bbot/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ pkgver() {
}

package() {
cd $pkgname
cd $pkgname

install -dm755 "$pkgdir/usr/share/$pkgname"
install -dm755 "$pkgdir/usr/share/$pkgname"

python -m venv "$pkgdir/usr/share/$pkgname/venv"
source "$pkgdir/usr/share/$pkgname/venv/bin/activate"
python -m venv "$pkgdir/usr/share/$pkgname/venv"
source "$pkgdir/usr/share/$pkgname/venv/bin/activate"

pip install --upgrade pip
pip install .
pip install --upgrade pip
pip install .

deactivate
deactivate

install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<EOF
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<EOF
#!/bin/bash
source /usr/share/$pkgname/venv/bin/activate
exec python -m $pkgname.cli "\$@"
Expand Down

0 comments on commit 8792295

Please sign in to comment.