summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-05 21:41:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-05 21:41:44 (GMT)
commit1cb4972bbf213b391bd403605ded1702ed224a25 (patch)
tree7b8a11c92edcd507888da008e654c96e1741eb56
parentca11d1169bc90abfe0f636bcb9285f43e2bbb862 (diff)
downloadlinhes_pkgbuild-1cb4972bbf213b391bd403605ded1702ed224a25.zip
linhes_pkgbuild-1cb4972bbf213b391bd403605ded1702ed224a25.tar.gz
linhes_pkgbuild-1cb4972bbf213b391bd403605ded1702ed224a25.tar.bz2
mythexpress: adding it
refs #865
-rwxr-xr-xabs/extra/mythexpress/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/extra/mythexpress/PKGBUILD b/abs/extra/mythexpress/PKGBUILD
new file mode 100755
index 0000000..683644b
--- /dev/null
+++ b/abs/extra/mythexpress/PKGBUILD
@@ -0,0 +1,44 @@
+pkgname=mythexpress
+pkgver=20121105
+pkgrel=1
+pkgdesc="MythExpress is a browser-based interface to MythTV HTTP streaming capability"
+arch=('i686' 'x86_64')
+url="https://github.com/MythTV-Clients/MythExpress"
+license=('GPL3')
+depends=('nodejs' 'avahi' )
+makedepends=('git')
+source=( )
+
+_gitroot="https://github.com/MythTV-Clients/MythExpress.git"
+_gitname=MythExpress
+
+build() {
+ cd "${srcdir}"
+
+ if [ ! -d "${srcdir}/${_gitname}" ]; then
+ git clone ${_gitroot}
+ else
+ cd ${_gitname} && git pull origin
+ fi
+
+ msg "GIT checkout done."
+
+
+ cd "${srcdir}"
+ if [ -e ${_gitname}-build ]
+ then
+ rm -rf ${_gitname}-build
+ fi
+ cp -rf "${_gitname}" "${_gitname}-build"
+
+ cd "${srcdir}/${_gitname}-build"
+ npm install || exit 1
+
+}
+
+package() {
+ cd "${srcdir}"
+ mkdir -p $pkgdir/usr/$pkgname
+ rsync -arvp --exclude .git ${_gitname}-build/ $pkgdir/usr/${pkgname}
+}
+md5sums=()