Date: Monday, December 9, 2013 @ 21:20:05
  Author: bgyorgy
Revision: 102380

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mythtv/repos/community-i686/PKGBUILD
    (from rev 102379, mythtv/trunk/PKGBUILD)
  mythtv/repos/community-i686/mythbackend.service
    (from rev 102379, mythtv/trunk/mythbackend.service)
  mythtv/repos/community-i686/mythtv.install
    (from rev 102379, mythtv/trunk/mythtv.install)
  mythtv/repos/community-x86_64/PKGBUILD
    (from rev 102379, mythtv/trunk/PKGBUILD)
  mythtv/repos/community-x86_64/mythbackend.service
    (from rev 102379, mythtv/trunk/mythbackend.service)
  mythtv/repos/community-x86_64/mythtv.install
    (from rev 102379, mythtv/trunk/mythtv.install)
Deleted:
  mythtv/repos/community-i686/PKGBUILD
  mythtv/repos/community-i686/mythbackend.service
  mythtv/repos/community-i686/mythtv.install
  mythtv/repos/community-x86_64/PKGBUILD
  mythtv/repos/community-x86_64/mythbackend.service
  mythtv/repos/community-x86_64/mythtv.install

--------------------------------------+
 /PKGBUILD                            |  146 +++++++++++++++++++++++++++++++++
 /mythbackend.service                 |   30 ++++++
 /mythtv.install                      |   44 +++++++++
 community-i686/PKGBUILD              |   73 ----------------
 community-i686/mythbackend.service   |   14 ---
 community-i686/mythtv.install        |   22 ----
 community-x86_64/PKGBUILD            |   73 ----------------
 community-x86_64/mythbackend.service |   14 ---
 community-x86_64/mythtv.install      |   22 ----
 9 files changed, 220 insertions(+), 218 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2013-12-09 20:19:51 UTC (rev 102379)
+++ community-i686/PKGBUILD     2013-12-09 20:20:05 UTC (rev 102380)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Conder <jonno.con...@gmail.com>
-# Contributor: Giovanni Scafora <giova...@archlinux.org>
-# Contributor: Juergen Hoetzel <juer...@archlinux.org>
-# Contributor: <kleptophob...@gmail.com>
-# Contributor: dorphell <dorph...@archlinux.org>
-
-pkgname=mythtv
-pkgver=0.27
-pkgrel=4
-epoch=1
-pkgdesc="A Homebrew PVR project"
-arch=('i686' 'x86_64')
-url="http://www.mythtv.org/";
-license=('GPL')
-depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
-         'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc-utils' 
'mariadb-clients'
-         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
-         'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 
'x264')
-makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm')
-optdepends=('glew: for GPU commercial flagging'
-            'libcec: for consumer electronics control capabilities'
-            'libxml2: to read blu-ray metadata'
-            'openssl: for AirTunes (RAOP) support'
-            'xmltv: to download tv listings')
-conflicts=('myththemes' 'mythplugins-mythvideo')
-replaces=('myththemes' 'mythplugins-mythvideo')
-backup=()
-install='mythtv.install'
-source=("$pkgname-$pkgver.tar.gz::http://www.$pkgname.org/download/$pkgname/$pkgver";
-        'mythbackend.service'
-        
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
-sha256sums=('c236c879563a5fcccb6ca949ad04be93611745261f7c56282dda2eb32185a78c'
-            'f628f44164ce773ae54d320fb2f65353cacf9deec16981e4e56316ac33000a2f'
-            '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
-
-prepare() {
-  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
-
-  find 'bindings/python' 'contrib' -type f | xargs sed -i 
's@^#!.*python$@#!/usr/bin/python2@'
-  patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
-}
-
-build() {
-  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
-
-  ARCH="${CARCH/_/-}"
-  ./configure --prefix=/usr \
-              --cpu="$ARCH" \
-              --disable-altivec \
-              --disable-audio-jack \
-              --disable-ccache \
-              --disable-distcc \
-              --enable-libfftw3 \
-              --enable-libmp3lame \
-              --enable-libvpx \
-              --enable-libx264 \
-              --enable-vaapi \
-              --python=python2
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
-  make INSTALL_ROOT="$pkgdir" install
-
-  install -D -m644 "$srcdir/mythbackend.service" 
"$pkgdir/usr/lib/systemd/system/mythbackend.service"
-  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
-
-  mkdir -p "$pkgdir/usr/share/mythtv"
-  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
-  mkdir -p "$pkgdir/var/log/mythtv"
-}

Copied: mythtv/repos/community-i686/PKGBUILD (from rev 102379, 
mythtv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2013-12-09 20:20:05 UTC (rev 102380)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Jonathan Conder <jonno.con...@gmail.com>
+# Contributor: Giovanni Scafora <giova...@archlinux.org>
+# Contributor: Juergen Hoetzel <juer...@archlinux.org>
+# Contributor: <kleptophob...@gmail.com>
+# Contributor: dorphell <dorph...@archlinux.org>
+
+pkgname=mythtv
+pkgver=0.27
+pkgrel=5
+epoch=1
+pkgdesc="A Homebrew PVR project"
+arch=('i686' 'x86_64')
+url="http://www.mythtv.org/";
+license=('GPL')
+depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
+         'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc-utils' 
'mariadb-clients'
+         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
+         'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 
'x264')
+makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm')
+optdepends=('glew: for GPU commercial flagging'
+            'libcec: for consumer electronics control capabilities'
+            'libxml2: to read blu-ray metadata'
+            'openssl: for AirTunes (RAOP) support'
+            'xmltv: to download tv listings')
+conflicts=('myththemes' 'mythplugins-mythvideo')
+replaces=('myththemes' 'mythplugins-mythvideo')
+backup=()
+install='mythtv.install'
+source=("$pkgname-$pkgver.tar.gz::http://www.$pkgname.org/download/$pkgname/$pkgver";
+        'mythbackend.service'
+        
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
+sha256sums=('e43fb64e362d1701d57887081c9402a6295376bb105002ac7153c8e8b331a01b'
+            'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
+            '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
+
+prepare() {
+  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+
+  find 'bindings/python' 'contrib' -type f | xargs sed -i 
's@^#!.*python$@#!/usr/bin/python2@'
+  patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+
+  ARCH="${CARCH/_/-}"
+  ./configure --prefix=/usr \
+              --cpu="$ARCH" \
+              --disable-altivec \
+              --disable-audio-jack \
+              --disable-ccache \
+              --disable-distcc \
+              --enable-libfftw3 \
+              --enable-libmp3lame \
+              --enable-libvpx \
+              --enable-libx264 \
+              --enable-vaapi \
+              --python=python2
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -D -m644 "$srcdir/mythbackend.service" 
"$pkgdir/usr/lib/systemd/system/mythbackend.service"
+  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
+
+  mkdir -p "$pkgdir/usr/share/mythtv"
+  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
+  mkdir -p "$pkgdir/var/log/mythtv"
+}

Deleted: community-i686/mythbackend.service
===================================================================
--- community-i686/mythbackend.service  2013-12-09 20:19:51 UTC (rev 102379)
+++ community-i686/mythbackend.service  2013-12-09 20:20:05 UTC (rev 102380)
@@ -1,14 +0,0 @@
-[Unit]
-Description=MythTV Backend
-After=network.target mysqld.service
-
-[Service]
-Type=simple
-Environment=HOME=/var/lib/mythtv
-User=mythtv
-ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
-ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
-#ExecStop=/usr/bin/mythshutdown --shutdown
-
-[Install]
-WantedBy=multi-user.target

Copied: mythtv/repos/community-i686/mythbackend.service (from rev 102379, 
mythtv/trunk/mythbackend.service)
===================================================================
--- community-i686/mythbackend.service                          (rev 0)
+++ community-i686/mythbackend.service  2013-12-09 20:20:05 UTC (rev 102380)
@@ -0,0 +1,15 @@
+[Unit]
+Description=MythTV Backend
+Wants=network-online.target
+After=network.target mysqld.service
+
+[Service]
+Type=simple
+Environment=HOME=/var/lib/mythtv
+User=mythtv
+ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
+ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
+#ExecStop=/usr/bin/mythshutdown --shutdown
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/mythtv.install
===================================================================
--- community-i686/mythtv.install       2013-12-09 20:19:51 UTC (rev 102379)
+++ community-i686/mythtv.install       2013-12-09 20:20:05 UTC (rev 102380)
@@ -1,22 +0,0 @@
-post_upgrade() {
-       if ! getent passwd mythtv &>/dev/null; then
-               getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
-               useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical 
-s /bin/bash mythtv >/dev/null
-       fi
-
-       echo -e "You may need to load time zone tables in MySQL.\nSee 
http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables";
-}
-
-post_install() {
-       echo -e "For installation information, 
visit:\nhttps://wiki.archlinux.org/index.php/MythTV";
-
-       post_upgrade
-}
-
-post_remove() {
-       echo -e "The MythTV database was not removed. To remove it, run:\n  
mysql -u root -e 'drop database mythconverg;'"
-       [ -d var/lib/mythtv ] && echo "The MythTV home directory 
/var/lib/mythtv can also be removed."
-
-       getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
-       getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
-}

Copied: mythtv/repos/community-i686/mythtv.install (from rev 102379, 
mythtv/trunk/mythtv.install)
===================================================================
--- community-i686/mythtv.install                               (rev 0)
+++ community-i686/mythtv.install       2013-12-09 20:20:05 UTC (rev 102380)
@@ -0,0 +1,22 @@
+post_upgrade() {
+       if ! getent passwd mythtv &>/dev/null; then
+               getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
+               useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical 
-s /bin/bash mythtv >/dev/null
+       fi
+
+       echo -e "You may need to load time zone tables in MySQL.\nSee 
http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables";
+}
+
+post_install() {
+       echo -e "For installation information, 
visit:\nhttps://wiki.archlinux.org/index.php/MythTV";
+
+       post_upgrade
+}
+
+post_remove() {
+       echo -e "The MythTV database was not removed. To remove it, run:\n  
mysql -u root -e 'drop database mythconverg;'"
+       [ -d var/lib/mythtv ] && echo "The MythTV home directory 
/var/lib/mythtv can also be removed."
+
+       getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
+       getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2013-12-09 20:19:51 UTC (rev 102379)
+++ community-x86_64/PKGBUILD   2013-12-09 20:20:05 UTC (rev 102380)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Conder <jonno.con...@gmail.com>
-# Contributor: Giovanni Scafora <giova...@archlinux.org>
-# Contributor: Juergen Hoetzel <juer...@archlinux.org>
-# Contributor: <kleptophob...@gmail.com>
-# Contributor: dorphell <dorph...@archlinux.org>
-
-pkgname=mythtv
-pkgver=0.27
-pkgrel=4
-epoch=1
-pkgdesc="A Homebrew PVR project"
-arch=('i686' 'x86_64')
-url="http://www.mythtv.org/";
-license=('GPL')
-depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
-         'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc-utils' 
'mariadb-clients'
-         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
-         'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 
'x264')
-makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm')
-optdepends=('glew: for GPU commercial flagging'
-            'libcec: for consumer electronics control capabilities'
-            'libxml2: to read blu-ray metadata'
-            'openssl: for AirTunes (RAOP) support'
-            'xmltv: to download tv listings')
-conflicts=('myththemes' 'mythplugins-mythvideo')
-replaces=('myththemes' 'mythplugins-mythvideo')
-backup=()
-install='mythtv.install'
-source=("$pkgname-$pkgver.tar.gz::http://www.$pkgname.org/download/$pkgname/$pkgver";
-        'mythbackend.service'
-        
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
-sha256sums=('c236c879563a5fcccb6ca949ad04be93611745261f7c56282dda2eb32185a78c'
-            'f628f44164ce773ae54d320fb2f65353cacf9deec16981e4e56316ac33000a2f'
-            '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
-
-prepare() {
-  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
-
-  find 'bindings/python' 'contrib' -type f | xargs sed -i 
's@^#!.*python$@#!/usr/bin/python2@'
-  patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
-}
-
-build() {
-  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
-
-  ARCH="${CARCH/_/-}"
-  ./configure --prefix=/usr \
-              --cpu="$ARCH" \
-              --disable-altivec \
-              --disable-audio-jack \
-              --disable-ccache \
-              --disable-distcc \
-              --enable-libfftw3 \
-              --enable-libmp3lame \
-              --enable-libvpx \
-              --enable-libx264 \
-              --enable-vaapi \
-              --python=python2
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
-  make INSTALL_ROOT="$pkgdir" install
-
-  install -D -m644 "$srcdir/mythbackend.service" 
"$pkgdir/usr/lib/systemd/system/mythbackend.service"
-  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
-
-  mkdir -p "$pkgdir/usr/share/mythtv"
-  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
-  mkdir -p "$pkgdir/var/log/mythtv"
-}

Copied: mythtv/repos/community-x86_64/PKGBUILD (from rev 102379, 
mythtv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2013-12-09 20:20:05 UTC (rev 102380)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Jonathan Conder <jonno.con...@gmail.com>
+# Contributor: Giovanni Scafora <giova...@archlinux.org>
+# Contributor: Juergen Hoetzel <juer...@archlinux.org>
+# Contributor: <kleptophob...@gmail.com>
+# Contributor: dorphell <dorph...@archlinux.org>
+
+pkgname=mythtv
+pkgver=0.27
+pkgrel=5
+epoch=1
+pkgdesc="A Homebrew PVR project"
+arch=('i686' 'x86_64')
+url="http://www.mythtv.org/";
+license=('GPL')
+depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
+         'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc-utils' 
'mariadb-clients'
+         'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww'
+         'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 
'x264')
+makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' 'openssl' 'yasm')
+optdepends=('glew: for GPU commercial flagging'
+            'libcec: for consumer electronics control capabilities'
+            'libxml2: to read blu-ray metadata'
+            'openssl: for AirTunes (RAOP) support'
+            'xmltv: to download tv listings')
+conflicts=('myththemes' 'mythplugins-mythvideo')
+replaces=('myththemes' 'mythplugins-mythvideo')
+backup=()
+install='mythtv.install'
+source=("$pkgname-$pkgver.tar.gz::http://www.$pkgname.org/download/$pkgname/$pkgver";
+        'mythbackend.service'
+        
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
+sha256sums=('e43fb64e362d1701d57887081c9402a6295376bb105002ac7153c8e8b331a01b'
+            'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
+            '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
+
+prepare() {
+  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+
+  find 'bindings/python' 'contrib' -type f | xargs sed -i 
's@^#!.*python$@#!/usr/bin/python2@'
+  patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+
+  ARCH="${CARCH/_/-}"
+  ./configure --prefix=/usr \
+              --cpu="$ARCH" \
+              --disable-altivec \
+              --disable-audio-jack \
+              --disable-ccache \
+              --disable-distcc \
+              --enable-libfftw3 \
+              --enable-libmp3lame \
+              --enable-libvpx \
+              --enable-libx264 \
+              --enable-vaapi \
+              --python=python2
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -D -m644 "$srcdir/mythbackend.service" 
"$pkgdir/usr/lib/systemd/system/mythbackend.service"
+  install -D -m644 'database/mc.sql' "$pkgdir/usr/share/mythtv/mc.sql"
+
+  mkdir -p "$pkgdir/usr/share/mythtv"
+  cp -R 'contrib' "$pkgdir/usr/share/mythtv"
+  mkdir -p "$pkgdir/var/log/mythtv"
+}

Deleted: community-x86_64/mythbackend.service
===================================================================
--- community-x86_64/mythbackend.service        2013-12-09 20:19:51 UTC (rev 
102379)
+++ community-x86_64/mythbackend.service        2013-12-09 20:20:05 UTC (rev 
102380)
@@ -1,14 +0,0 @@
-[Unit]
-Description=MythTV Backend
-After=network.target mysqld.service
-
-[Service]
-Type=simple
-Environment=HOME=/var/lib/mythtv
-User=mythtv
-ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
-ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
-#ExecStop=/usr/bin/mythshutdown --shutdown
-
-[Install]
-WantedBy=multi-user.target

Copied: mythtv/repos/community-x86_64/mythbackend.service (from rev 102379, 
mythtv/trunk/mythbackend.service)
===================================================================
--- community-x86_64/mythbackend.service                                (rev 0)
+++ community-x86_64/mythbackend.service        2013-12-09 20:20:05 UTC (rev 
102380)
@@ -0,0 +1,15 @@
+[Unit]
+Description=MythTV Backend
+Wants=network-online.target
+After=network.target mysqld.service
+
+[Service]
+Type=simple
+Environment=HOME=/var/lib/mythtv
+User=mythtv
+ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
+ExecStop=/usr/bin/mythshutdown --setscheduledwakeup
+#ExecStop=/usr/bin/mythshutdown --shutdown
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/mythtv.install
===================================================================
--- community-x86_64/mythtv.install     2013-12-09 20:19:51 UTC (rev 102379)
+++ community-x86_64/mythtv.install     2013-12-09 20:20:05 UTC (rev 102380)
@@ -1,22 +0,0 @@
-post_upgrade() {
-       if ! getent passwd mythtv &>/dev/null; then
-               getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
-               useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical 
-s /bin/bash mythtv >/dev/null
-       fi
-
-       echo -e "You may need to load time zone tables in MySQL.\nSee 
http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables";
-}
-
-post_install() {
-       echo -e "For installation information, 
visit:\nhttps://wiki.archlinux.org/index.php/MythTV";
-
-       post_upgrade
-}
-
-post_remove() {
-       echo -e "The MythTV database was not removed. To remove it, run:\n  
mysql -u root -e 'drop database mythconverg;'"
-       [ -d var/lib/mythtv ] && echo "The MythTV home directory 
/var/lib/mythtv can also be removed."
-
-       getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
-       getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
-}

Copied: mythtv/repos/community-x86_64/mythtv.install (from rev 102379, 
mythtv/trunk/mythtv.install)
===================================================================
--- community-x86_64/mythtv.install                             (rev 0)
+++ community-x86_64/mythtv.install     2013-12-09 20:20:05 UTC (rev 102380)
@@ -0,0 +1,22 @@
+post_upgrade() {
+       if ! getent passwd mythtv &>/dev/null; then
+               getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
+               useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical 
-s /bin/bash mythtv >/dev/null
+       fi
+
+       echo -e "You may need to load time zone tables in MySQL.\nSee 
http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables";
+}
+
+post_install() {
+       echo -e "For installation information, 
visit:\nhttps://wiki.archlinux.org/index.php/MythTV";
+
+       post_upgrade
+}
+
+post_remove() {
+       echo -e "The MythTV database was not removed. To remove it, run:\n  
mysql -u root -e 'drop database mythconverg;'"
+       [ -d var/lib/mythtv ] && echo "The MythTV home directory 
/var/lib/mythtv can also be removed."
+
+       getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
+       getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
+}

Reply via email to