Files
plex-media-server-plexpass/PKGBUILD
T
Donald Webster 755ad4b078 0.9.16.4.1911-ee6e505
NEW:
 * Update Plex/Web to 2.6.0
FIXES:
 * (Media Optimizer) Episodes from shows whose titles have trailing periods might be repeatedly reprocessed (on Windows).
 * (Media Optimizer) Transcoded special episodes weren't following the naming convention.
 * (Media Optimizer) Optimized versions could be automatically deleted while being watched.
 * (Transcoder) Transcoder process crashes weren't being reliably detected on non-Windows platforms.
 * (Transcoder) Issues transcoding music files with high sampling rates.
 * (Transcoder) The highest quality audio encoder wasn't always selected with Direct Streaming disabled.
 * (DLNA) Crashes entering movie sections with Samsung Smart TV DLNA client.
 * (Windows) Show tray icon on recent Windows Insider Preview builds.
 * (Windows) Overwrite older files more reliably during setup.
 * (Metadata) Download higher quality artist posters from last.fm.
 * (Metadata) Fix top tracks for music libraries.
 * (Metadata) Missing Rotten Tomatoes metadata when movie has no trailers and language is not set to English
 * (PS4) Certain images weren't being cached while browsing.
 * (Web) Plex Pass privileges weren't being recognized on first sign-in.
 * Issues with .plexignore files.
 * Issues with playback from some unofficial Plex Channels.
2016-04-07 07:16:18 -07:00

61 lines
2.7 KiB
Bash

# Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Rob Sletten <rsletten@gmail.com>
# Contributor: Tom Moore <t.moore01@gmail.com>
# Contributor: monty <linksoft@gmx.de>
# Contributor: Jon Wiersma <archaur@jonw.org>
# Contributor: Arthur <arthur.darcet@m4x.org>
# Contributor: Praekon <praekon@googlemail.com>
# Based on the plex-media-server package by Maxime Gauduin.
pkgname=plex-media-server-plexpass
pkgver=0.9.16.4.1911
_pkgsum=ee6e505
pkgrel=1
pkgdesc='Plex Media Server (PlexPass version)'
arch=('arm' 'armv7h' 'i686' 'x86_64')
url='https://plex.tv/'
license=('custom')
options=('!emptydirs')
provides=('plex-media-server')
conflicts=('plex-media-server')
backup=('etc/conf.d/plexmediaserver')
install='plex-media-server.install'
source=('plexmediaserver.conf.d'
'plexmediaserver.service'
'plex.sysusers'
'terms.txt')
source_arm=("https://downloads.plex.tv/plex-media-server/${pkgver}-${_pkgsum}/PlexMediaServer-${pkgver}-${_pkgsum}-arm.spk")
source_armv7h=("https://downloads.plex.tv/plex-media-server/${pkgver}-${_pkgsum}/PlexMediaServer-${pkgver}-${_pkgsum}-arm7.spk")
source_i686=("https://downloads.plex.tv/plex-media-server/${pkgver}-${_pkgsum}/plexmediaserver-${pkgver}-${_pkgsum}.i386.rpm")
source_x86_64=("https://downloads.plex.tv/plex-media-server/${pkgver}-${_pkgsum}/plexmediaserver-${pkgver}-${_pkgsum}.x86_64.rpm")
sha256sums=('7ab1ee8da9012d257b7f473fb79d76b201ca592cbe3722f977a43b58bfad180e'
'9da45cc3951ae03086ec663e6273c2de0183495fd15dc34ddd9aa100346d4d3a'
'ebf153d5789f9d24cb98ae607d227286e1da6ce54e149c8be4f47e08ee729573'
'7bb97271eb2dc5d1dcb95f9763f505970d234df17f1b8d79b467b9020257915a')
sha256sums_arm=('3c5a5753887df1516c7be97bdfdc64254b85cfa2b43b11af7528a5634b9a6f9c')
sha256sums_armv7h=('ffa8a84248cfbc48b5d844b40f9263d17cb191b19098f5055e4f0561317f4b97')
sha256sums_i686=('82285270c77bca7c9c0b5e674b410abe4a8f0ef060ee73e8c71e89ff01953e1a')
sha256sums_x86_64=('cd5dfcd71f5e5126ea6bd6a079feb92d8df6bee860590f396809b06a3da30053')
prepare() {
if [[ $CARCH =~ arm* ]]; then
mkdir -p usr/lib/plexmediaserver
tar -xf package.tgz -C usr/lib/plexmediaserver/
fi
}
package() {
install -dm 755 "${pkgdir}"/{opt,etc/conf.d,usr/lib/systemd/system}
cp -dr --no-preserve='ownership' usr/lib/plexmediaserver "${pkgdir}"/opt/
install -m 644 plexmediaserver.service "${pkgdir}"/usr/lib/systemd/system/
install -m 644 plexmediaserver.conf.d "${pkgdir}"/etc/conf.d/plexmediaserver
install -Dm644 "$srcdir/plex.sysusers" "$pkgdir/usr/lib/sysusers.d/plex.conf"
install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
install -m 644 terms.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
}
# vim: ts=2 sw=2 et: