September 13, 201411 yr So the package maitainer for PMS (plex pass version) on AUR is a bit slow this time around and hasn't yet updated to the latest PMS. So I figured it out and did it myself. Its actually pretty easy: from your Atch console use whatever AUR package builder you want, I used yaourt yaourt -S plexmediaserver-plexpass The first question you will be asked is ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ------------------------------------ YES you want to!!! You will be presented with a nano window showing PKGBLD # Contributor: Praekon <[email protected]> # Contributor: Arthur <[email protected]> # Contributor: Jon Wiersma <[email protected]> # Contributor: monty <linksoft [at] gmx [dot] de> # Contributor: Mikhail Davidov <[email protected]> # Contributor: Tom Moore <t.moore01 [at] gmail [dot] com> # Maintainer: Matt Henkel <[email protected]> pkgname=plexmediaserver-plexpass pkgver=0.9.9.16.555 pkgrel=1 _subver=50cd0c3 pkgdesc="PlexPass Release of Plex Media Server for Linux" url='http://www.plexapp.com' arch=('i686' 'x86_64') license=('closed') depends=('rsync' 'avahi') conflicts=('plexmediaserver') backup=('etc/conf.d/plexmediaserver') install='plexmediaserver.install' if [ "$CARCH" = "i686" ]; then _arch='i386' md5sums=('5d6d95540837d7469f6849a12d4cbef2') elif [ "$CARCH" = "x86_64" ]; then _arch='amd64' md5sums=('016ec179e95b972ea57ff10f1f63f863') fi if (( !INFAKEROOT )); then echo "This package requires that you are a PlexPass member and have access to the PlexPass forum and downloads (http://forums.plexapp.com/index.php/topic/64569-download-instructions/)" echo echo -n "Enter the user to download the package as: " read user echo -n "Enter the password for ${user}: " read -s password echo fi source=("http://${user}{password}@downloads.plexapp.com/plex-media-server/${pkgver}-${_subver}/plexmediaserver_${pkgver}-${_subver}_${_arch}.deb" "plexmediaserver.conf.d" "plexmediaserver.service" "start_pms") md5sums+=('32cdd9f9de446f6646616a0077151726' 'd850fe41dd35aba09a375ac8d81175e0' '34e9ddaab4ffc84ab9835abd16a383b3') build() { ar -xv plexmediaserver_${pkgver}-${_subver}_${_arch}.deb || return 1 tar -zxf data.tar.gz || return 1 } package() { mkdir -p "${pkgdir}/opt/plexmediaserver" mkdir -p "${pkgdir}/usr/lib/systemd/system" cp -r usr/lib/plexmediaserver/* "${pkgdir}/opt/plexmediaserver/" install -Dm755 "${srcdir}/start_pms" "${pkgdir}/opt/plexmediaserver/" install -Dm644 "${srcdir}/plexmediaserver.conf.d" "${pkgdir}/etc/conf.d/plexmediaserver" install -Dm644 "${srcdir}/plexmediaserver.service" "${pkgdir}/usr/lib/systemd/system/plexmediaserver.service" } # vim: set ts=4 sts=4 sw=4 ai et: The lines you need to change are the following: pkgver=0.9.9.16.555 ====> 0.9.10.1.585 pkgrel=1 _subver=50cd0c3 ====> f31034e . . . _arch='amd64' md5sums=('016ec179e95b972ea57ff10f1f63f863') ====> 34dd7a43d666ed8756a8299f0c09c35c . . . Save and exit, and then continue with the build/install as normal. For anyone worried about security coming from some dude online, note that I have not changed the actual download location (still plex.tv). All I've done is changed the file name variables to match the most current plexpass 64bit .deb file and the associated md5 for that file. You can confirm that yourself by manually downloading the file from plex-tv directly and comparing the md5 yourself. In fact in the future that is how you can do this all yourself assuming nothing else material changes like dependancies, PKGBLD structure, etc
Archived
This topic is now archived and is closed to further replies.