From 8c5e6c221167987c43f22048aa573e4917f108ba Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 28 Jan 2016 15:59:23 +0000 Subject: mythexpress: update to latest; start service on install --- abs/extra/mythexpress/PKGBUILD | 3 ++- abs/extra/mythexpress/mythexpress.install | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 abs/extra/mythexpress/mythexpress.install diff --git a/abs/extra/mythexpress/PKGBUILD b/abs/extra/mythexpress/PKGBUILD index 7080c8d..d6ac582 100755 --- a/abs/extra/mythexpress/PKGBUILD +++ b/abs/extra/mythexpress/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythexpress -pkgver=20150205 +pkgver=20160128 pkgrel=1 pkgdesc="MythExpress is a browser-based interface to MythTV HTTP streaming capability" arch=('i686' 'x86_64') @@ -7,6 +7,7 @@ url="https://github.com/MythTV-Clients/MythExpress" license=('GPL3') depends=('nodejs' 'avahi' ) makedepends=('git') +install=('mythexpress.install') source=('mythexpress.html' ) _gitroot="https://github.com/MythTV-Clients/MythExpress.git" diff --git a/abs/extra/mythexpress/mythexpress.install b/abs/extra/mythexpress/mythexpress.install new file mode 100644 index 0000000..76b56bb --- /dev/null +++ b/abs/extra/mythexpress/mythexpress.install @@ -0,0 +1,11 @@ +post_install() { + add_service.sh mythexpress +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + remove_service.sh mythexpress +} -- cgit v0.12