From f8c1ec1507f173ec2c1672bc060204578b53d3df Mon Sep 17 00:00:00 2001 From: ook37 Date: Sat, 13 Jul 2024 18:12:56 -0400 Subject: [PATCH] fix(rhino-pkg-git): repair install --- packages/rhino-pkg-git/.SRCINFO | 1 + packages/rhino-pkg-git/rhino-pkg-git.pacscript | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/rhino-pkg-git/.SRCINFO b/packages/rhino-pkg-git/.SRCINFO index 3826a1ad33..486c30c07f 100644 --- a/packages/rhino-pkg-git/.SRCINFO +++ b/packages/rhino-pkg-git/.SRCINFO @@ -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 diff --git a/packages/rhino-pkg-git/rhino-pkg-git.pacscript b/packages/rhino-pkg-git/rhino-pkg-git.pacscript index baf252aa44..b5c7272ab5 100644 --- a/packages/rhino-pkg-git/rhino-pkg-git.pacscript +++ b/packages/rhino-pkg-git/rhino-pkg-git.pacscript @@ -1,6 +1,7 @@ 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") @@ -8,8 +9,9 @@ pkgdesc="Rhino-pkg wrapper script" maintainer=("Oren Klopfer ") 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" }