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
|
|
|
|
|
|
|
|
pkgname=plexmediaserver
|
2013-11-13 06:38:23 +00:00
|
|
|
pkgver=0.9.8.10.215
|
2013-09-27 08:22:00 +00:00
|
|
|
pkgrel=1
|
2013-11-13 06:38:23 +00:00
|
|
|
_subver=020456b
|
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')
|
|
|
|
backup=('etc/conf.d/plexmediaserver')
|
|
|
|
install='plexmediaserver.install'
|
|
|
|
|
|
|
|
source=("http://plex.r.worldssl.net/plex-media-server/${pkgver}-${_subver}/PlexMediaServer-${pkgver}-${_subver}-arm.spk"
|
|
|
|
"${pkgname}.conf.d"
|
|
|
|
"${pkgname}.service"
|
|
|
|
"start_pms")
|
|
|
|
|
2013-11-13 06:38:23 +00:00
|
|
|
md5sums=('5df78b900dfd2c578da58fb7f5b0ba86'
|
2013-08-14 09:12:34 +00:00
|
|
|
'32cdd9f9de446f6646616a0077151726'
|
|
|
|
'b69f7188025ff62187724041c959adef'
|
2013-11-13 06:38:23 +00:00
|
|
|
'c4d158ae6f9a186e4553551d062febe3')
|
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
|
|
|
}
|