Skip to content

Commit

Permalink
fix(rhino-pkg-git): repair install (#6238)
Browse files Browse the repository at this point in the history
Co-authored-by: ook37 <[email protected]>
  • Loading branch information
oklopfer and ook37 authored Jul 13, 2024
1 parent c1c88de commit 7efe31b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/rhino-pkg-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pkgbase = rhino-pkg-git
gives = rhino-pkg
pkgver = 0.1.2
pkgrel = 2
pkgdesc = Rhino-pkg wrapper script
depends = gettext
makedepends = make
Expand Down
6 changes: 4 additions & 2 deletions packages/rhino-pkg-git/rhino-pkg-git.pacscript
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
pkgname="rhino-pkg-git"
source=("https://github.com/rhino-linux/rhino-pkg.git")
pkgver="0.1.2"
pkgrel="2"
gives="rhino-pkg"
makedepends=("make" "gettext")
depends=("gettext")
pkgdesc="Rhino-pkg wrapper script"
maintainer=("Oren Klopfer <[email protected]>")

package() {
cd "${_archive}"
cd "${gives}"
DESTDIR="${pkgdir}" make install
mkdir -p "${pkgdir}/usr/bin"
ln -sf "/usr/bin/rhino-pkg" "${pkgdir}/usr/bin/rpk"
install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}"
ln -sf "/usr/bin/${gives}" "${pkgdir}/usr/bin/rpk"
}

0 comments on commit 7efe31b

Please sign in to comment.