2013-08-14 09:12:34 +00:00
|
|
|
# Contributor: Praekon <praekon@googlemail.com>
|
|
|
|
# Contributor: Arthur <arthur.darcet@m4x.org>
|
|
|
|
# Contributor: Jon Wiersma <archaur@jonw.org>
|
|
|
|
# Contributor: monty <linksoft [at] gmx [dot] de>
|
|
|
|
# Maintainer: Tom Moore <t.moore01 [at] gmail [dot] com>
|
|
|
|
|
|
|
|
#ALARM: moonman
|
|
|
|
# - Using Synology arm package as the base
|
|
|
|
# - changed start_pms contents for arm
|
|
|
|
|
|
|
|
buildarch=2
|
|
|
|
|
2014-12-06 17:14:49 +00:00
|
|
|
pkgname=plex-media-server
|
2014-12-02 19:39:47 +00:00
|
|
|
pkgver=0.9.11.4.739
|
2014-06-09 08:10:55 +00:00
|
|
|
pkgrel=1
|
2014-12-02 19:39:47 +00:00
|
|
|
_subver=a4e710f
|
2013-08-14 09:12:34 +00:00
|
|
|
pkgdesc="Plex Media Server for Linux"
|
|
|
|
url='http://www.plexapp.com'
|
|
|
|
arch=('arm')
|
|
|
|
license=('closed')
|
|
|
|
depends=('rsync' 'avahi')
|
2014-12-06 17:14:49 +00:00
|
|
|
replaces=('plexmediaserver')
|
|
|
|
conflicts=('plexmediaserver' 'plexmediaserver-plexpass')
|
2013-08-14 09:12:34 +00:00
|
|
|
backup=('etc/conf.d/plexmediaserver')
|
|
|
|
install='plexmediaserver.install'
|
|
|
|
|
2014-04-20 08:19:07 +00:00
|
|
|
source=("http://downloads.plexapp.com/plex-media-server/${pkgver}-${_subver}/PlexMediaServer-${pkgver}-${_subver}-arm.spk"
|
2014-12-06 17:31:54 +00:00
|
|
|
'plexmediaserver.conf.d'
|
|
|
|
'plexmediaserver.service'
|
2013-08-14 09:12:34 +00:00
|
|
|
"start_pms")
|
|
|
|
|
2014-12-02 19:39:47 +00:00
|
|
|
md5sums=('a8fb05c0f9a450b369f4104bff4a2ab1'
|
2013-08-14 09:12:34 +00:00
|
|
|
'32cdd9f9de446f6646616a0077151726'
|
2014-06-09 08:10:55 +00:00
|
|
|
'6601ebe6607cfb7dda9f3d77c1d043a9'
|
|
|
|
'c4d158ae6f9a186e4553551d062febe3')
|
2014-12-02 19:39:47 +00:00
|
|
|
|
2013-08-14 09:12:34 +00:00
|
|
|
build() {
|
|
|
|
mkdir ${srcdir}/plex
|
|
|
|
cd ${srcdir}/plex
|
|
|
|
tar xzf ../package.tgz
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "${pkgdir}"/opt/plexmediaserver
|
|
|
|
mkdir -p "${pkgdir}"/usr/lib/systemd/system
|
|
|
|
cp -r ${srcdir}/plex/* "${pkgdir}"/opt/plexmediaserver/
|
|
|
|
|
2013-08-14 09:32:27 +00:00
|
|
|
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
|
2013-08-14 09:12:34 +00:00
|
|
|
}
|