Package Details: r2modman-bin 3.1.55-1

Git Clone URL: https://aur.archlinux.org/r2modman-bin.git (read-only, click to copy)
Package Base: r2modman-bin
Description: A simple and easy to use mod manager for several games using Thunderstore.
Upstream URL: https://github.com/ebkr/r2modmanPlus
Licenses: MIT
Conflicts: r2modman
Provides: r2modman
Submitter: oynyo
Maintainer: oynyo
Last Packager: oynyo
Votes: 16
Popularity: 2.80
First Submitted: 2023-03-25 21:55 (UTC)
Last Updated: 2024-12-11 06:42 (UTC)

Latest Comments

« First ‹ Previous 1 2

luluco250 commented on 2023-12-15 17:54 (UTC) (edited on 2023-12-15 19:02 (UTC) by luluco250)

Looks like the author releases pacman packages through GitHub, but calls it *.pacman.

I was able to install it just fine with pacman -U, so maybe it'd make sense to just switch to that instead of using the *.rpm?

Edit:

Here's how you can extract the files from the pacman package they provide, far simpler than dealing with the RPM file IMO:

source=(
    "$_name-$pkgver-${arch[0]}.pkg.tar.xz::$url/releases/download/v$pkgver/$_name-$pkgver.pacman"
    "$url/raw/v$pkgver/LICENSE"
)
sha256sums=(
    'e704772a4b9d6f37a51c8c3e1bd3a3f445361841d08acf378aafe1b1cb8dd641'
    'ab4643c18a58edee5b0beac8278517f6475b2956d5999b40e3176297b9a0ce18'
)

package() {
    cp -r "$srcdir"/{opt,usr} "$pkgdir/"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

I haven't figured out a way to just have makepkg skip building a package and just use the one from GitHub directly.

begin-theadventu commented on 2023-04-01 22:15 (UTC) (edited on 2023-04-01 22:37 (UTC) by begin-theadventu)

I think it'd be better to use .rpm; it has a desktop file, icons and weights less than .tar.gz:

source=("${url}/releases/download/v${pkgver}/${_name}-$pkgver.x86_64.rpm"
    "LICENSE")
md5sums=(
    '5f71c1b7f9e16f30804bcc9422258c3a'
    'cdc88d3d1b56736d0dbc702aaa7de854')

package() {
  mkdir -p ${pkgdir}/opt
  mkdir -p ${pkgdir}/usr/bin
  cp -a opt/$_name $pkgdir/opt/$_name
  ln -fs /opt/$_name/$_name ${pkgdir}/usr/bin/$_name
  for i in 16 24 32 48 64 128 256; do
    install -Dm644 usr/share/icons/hicolor/${i}x${i}/apps/$_name.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/$_name.png
  done
  install -Dm644 usr/share/applications/$_name.desktop "$pkgdir/usr/share/applications/$_name.desktop"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$_name"
}

oynyo commented on 2023-03-25 22:02 (UTC)

Known bug regarding GPU process isn't available. Workaround is to add the --no-sandbox flag.