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" }