Date: Friday, September 5, 2014 @ 19:01:43 Author: alucryd Revision: 118420
upgpkg: plex-home-theater 1.2.2-1 Modified: plex-home-theater/trunk/PKGBUILD Deleted: plex-home-theater/trunk/plex-home-theater.install plex-home-theater/trunk/plexhometheater.service ---------------------------+ PKGBUILD | 18 +++--------------- plex-home-theater.install | 16 ---------------- plexhometheater.service | 17 ----------------- 3 files changed, 3 insertions(+), 48 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-09-05 16:24:31 UTC (rev 118419) +++ PKGBUILD 2014-09-05 17:01:43 UTC (rev 118420) @@ -3,8 +3,8 @@ # Contributor: Daniel Wallace <[email protected]> pkgname=plex-home-theater -pkgver=1.2.1 -pkgrel=4 +pkgver=1.2.2 +pkgrel=1 pkgdesc='Plex Home Theater' arch=('i686' 'x86_64') url='http://www.plexapp.com/' @@ -20,12 +20,9 @@ 'libshairport: AirPlay support' 'libcec: Pulse-Eight USB-CEC adapter support' 'pulseaudio: PulseAudio support') -install="${pkgname}.install" source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz" - 'plexhometheater.service' 'plexhometheater.sh') -sha256sums=('c6494591a748bf11281dee860542168448e8e494a7e4eee6cdc61255948975f2' - 'bca8cd5aa13f469f93dd4e9868c0b5050395ca32f28b19852e5830441b67e1be' +sha256sums=('5df5b2bfb5d02566c151e93be6a7217ca72b9e7800e6216dabf1759d920f3d2f' 'c551d8f50342dcfede5a11e1bae2c18b25d44b89a5a29863e5809d45ef365702') build() { @@ -49,19 +46,10 @@ cd plex-home-theater-public-pht-v${pkgver}/build make DESTDIR="${pkgdir}" install - install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}} install -m 755 "${srcdir}"/plexhometheater.sh "${pkgdir}"/usr/bin/ install -m 644 ../plex/Resources/plexhometheater.desktop "${pkgdir}"/usr/share/applications/ install -m 644 ../plex/Resources/plex-icon-256.png "${pkgdir}"/usr/share/pixmaps/plexhometheater.png - - # Systemd - install -dm 755 "${pkgdir}"/usr/lib/systemd/system - install -m 644 ../../plexhometheater.service "${pkgdir}"/usr/lib/systemd/system/ - - # Plex user home - install -dm 700 "${pkgdir}"/var/lib/plex - chown 421:421 "${pkgdir}"/var/lib/plex } # vim: ts=2 sw=2 et: Deleted: plex-home-theater.install =================================================================== --- plex-home-theater.install 2014-09-05 16:24:31 UTC (rev 118419) +++ plex-home-theater.install 2014-09-05 17:01:43 UTC (rev 118420) @@ -1,16 +0,0 @@ -post_install() { - getent group plex > /dev/null 2>&1 || groupadd -g 421 plex - getent passwd plex > /dev/null 2>&1 || useradd -c 'Plex user' -u 421 -g plex -G audio,video,network,optical -d /var/lib/plex -s /sbin/nologin plex - passwd -l plex > /dev/null -} - -post_upgrade() { - post_install -} - -post_remove() { - getent passwd plex > /dev/null 2>&1 && userdel plex - getent group plex > /dev/null 2>&1 && groupdel plex -} - -# vim: ts=2 sw=2 et: Deleted: plexhometheater.service =================================================================== --- plexhometheater.service 2014-09-05 16:24:31 UTC (rev 118419) +++ plexhometheater.service 2014-09-05 17:01:43 UTC (rev 118420) @@ -1,17 +0,0 @@ -[Unit] -Description = Starts an instance of Plex Home Theater using xinit -After = systemd-user-sessions.service -Conflicts = [email protected] - -[Service] -User = plex -Group = plex -PAMName = login -Type = simple -TTYPath = /dev/tty7 -Environment = XBMC_HOME=/opt/plexhometheater/share/XBMC -ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /opt/plexhometheater/bin/plexhometheater --standalone -l /run/lirc/lircd -- :0 -nolisten tcp vt7 -Restart = on-abort - -[Install] -WantedBy = multi-user.target
