INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: New Arch install  (Read 1605 times)

Piblokto

  • Recent member
  • *
  • Posts: 19
New Arch install
« on: November 03, 2021, 05:54:26 am »

I want to install MC27 on Arch Linux (Endeavour) but the versions available in the AUR are 24,25 and 28.

I would create a pkgbuild based on the MC28 file but do not know where to locate the sha256sum values.  I assume that I would only need to change 28 to 27 and the checksums.

Can anyone let me know these so that I can install? Or provide me with a pkgbuild script to use?

Thanks
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7355
  • The color of Spring...
Re: New Arch install
« Reply #1 on: November 03, 2021, 06:35:18 am »

This PKGBUILD would probably be enough to build MC27 on Arch using makepkg -si with the PKGBUILD and License.txt files.

Code: [Select]
pkgname=jriver-media-center27
_debpkgver=27.0.88
pkgver=27.0.88
pkgrel=1
pkgdesc="The Most Comprehensive Media Software"
arch=('x86_64')
url="http://www.jriver.com/"
license=('custom')
depends=('alsa-lib' 'gcc-libs' 'libx11' 'libxext' 'libxcb' 'libxau' 'libxdmcp' 'util-linux' 'libxext' 'gtk3')
optdepends=('mesa-libgl: nouveau video support' 'nvidia-libgl: nvidia video support' 'vorbis-tools' 'musepack-tools')
conflicts=('jriver-media-center26' 'jriver-media-center25' 'jriver-media-center24')
source=("http://files.jriver.com/mediacenter/channels/v27/latest/MediaCenter-$_debpkgver-amd64.deb" 'License.txt')
sha256sums=('eaf39ff8647fad495038475f03dd90df4c88128d6b67dc85c7662fa480124847' 'ee00f430918df6be37777a61e12812875b5583379c78daaa969bae7383a41fbd')

package() {
  cd "$srcdir"
  bsdtar xf data.tar.xz -C "$pkgdir"
    install -Dm644 "License.txt" \
    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

EDIT: Indeed, it does build MC27 fine.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

Piblokto

  • Recent member
  • *
  • Posts: 19
Re: New Arch install
« Reply #2 on: November 04, 2021, 08:24:57 am »

Thanks very much.

I haven't amended pkgbuild files before and now see that I could have done this myself.  But all worked fine with the addition of my license file and generated checksum.
Logged
Pages: [1]   Go Up