Skip to content

Commit

Permalink
Change installation path for binary to /usr/local/bin in PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
voioo committed Jan 5, 2025
1 parent fbca529 commit b7de431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ depends=('gcc-libs')
makedepends=('rust' 'cargo')
backup=('etc/observer/config.toml')
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/$pkgname-linux-amd64.tar.gz")
sha256sums=('SKIP') # Will be updated by the workflow
sha256sums=('SKIP')

package() {
cd "$srcdir"

# Install binary
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "$pkgname" "$pkgdir/usr/local/bin/$pkgname"

# Install systemd service
install -Dm644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
Expand Down

0 comments on commit b7de431

Please sign in to comment.