[arch-commits] Commit in plex-home-theater/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Dec 3 13:14:28 UTC 2014


    Date: Wednesday, December 3, 2014 @ 14:14:28
  Author: alucryd
Revision: 123410

upgpkg: plex-home-theater 1.3.2.417-1

Modified:
  plex-home-theater/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-03 13:04:29 UTC (rev 123409)
+++ PKGBUILD	2014-12-03 13:14:28 UTC (rev 123410)
@@ -3,7 +3,8 @@
 # Contributor: Daniel Wallace <daniel.wallace at gatech.edu>
 
 pkgname=plex-home-theater
-pkgver=1.3.0
+_pkgver=1.3.2.417-04be1687
+pkgver=${_pkgver%-*}
 pkgrel=1
 pkgdesc='Plex Home Theater'
 arch=('i686' 'x86_64')
@@ -19,12 +20,12 @@
             'libshairport: AirPlay support'
             'libcec: Pulse-Eight USB-CEC adapter support'
             'pulseaudio: PulseAudio support')
-source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz"
+source=("https://github.com/plexinc/plex-home-theater-public/archive/v${_pkgver}.tar.gz"
         'plex-ffmpeg-compat.patch'
         'plex-libcec-2.2.0.patch'
         'plex-lirc-socket.patch'
         'plexhometheater.sh')
-sha256sums=('400dd27ac50b9da97307aa12fd3c0d2c569466c321ee234f659dcc647accc8dd'
+sha256sums=('6896f3e00852d7afc5bb6f773196b967db975c30678d4ed37b33bf256bc27c1d'
             '5b370e4dec6998130df46ad6bd5ca6258e3a040dd6c6cc4085c335dc3d6050bd'
             '13032e8da35b0abdd22109f9ee34c63e43e0f9863fe81d4fa503c05ede23a212'
             '630070125ad5239163d89fed5bf7f83abf4a411ac3e24aa2e41f99c5c3c8fb7f'
@@ -31,7 +32,7 @@
             'dc6bd394c07a2ececbb2f8c53cb54afd5d78f7c00a0b34acab3e71217da085fb')
 
 prepare() {
-  cd plex-home-theater-public-pht-v${pkgver}
+  cd plex-home-theater-public-${_pkgver}
 
   patch -Np1 -i ../plex-libcec-2.2.0.patch
   patch -Np1 -i ../plex-lirc-socket.patch
@@ -39,7 +40,7 @@
 }
 
 build() {
-  cd plex-home-theater-public-pht-v${pkgver}
+  cd plex-home-theater-public-${_pkgver}
 
   if [[ -d build ]]; then
     rm -rf build
@@ -56,7 +57,7 @@
 }
 
 package() {
-  cd plex-home-theater-public-pht-v${pkgver}/build
+  cd plex-home-theater-public-${_pkgver}/build
 
   make DESTDIR="${pkgdir}" install
   install -dm 755 "${pkgdir}"/usr/{lib/plexhometheater,share/{applications,pixmaps}}



More information about the arch-commits mailing list