summaryrefslogtreecommitdiffstats
path: root/abs/extra/remyth/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-05 16:12:32 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-05 16:12:32 (GMT)
commit0e0f774e3b78d143dd1e932ee49bef80d0a6e970 (patch)
tree86e95c670dac103c350e74d626740a7e29f49b31 /abs/extra/remyth/PKGBUILD
parent0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980 (diff)
downloadlinhes_pkgbuild-0e0f774e3b78d143dd1e932ee49bef80d0a6e970.zip
linhes_pkgbuild-0e0f774e3b78d143dd1e932ee49bef80d0a6e970.tar.gz
linhes_pkgbuild-0e0f774e3b78d143dd1e932ee49bef80d0a6e970.tar.bz2
remyth: adding it
refs #863 closes #863
Diffstat (limited to 'abs/extra/remyth/PKGBUILD')
-rwxr-xr-xabs/extra/remyth/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/abs/extra/remyth/PKGBUILD b/abs/extra/remyth/PKGBUILD
new file mode 100755
index 0000000..5208ace
--- /dev/null
+++ b/abs/extra/remyth/PKGBUILD
@@ -0,0 +1,45 @@
+pkgname=remyth
+pkgver=20121031
+pkgrel=1
+pkgdesc="This project is meant to provide a nicer remote for your MythTV Frontends. "
+arch=('i686' 'x86_64')
+url="https://github.com/SchraderMJ11/ReMyth"
+license=('GPL')
+depends=('nodejs' 'avahi' )
+makedepends=('git')
+source=(service_type.js.patch )
+
+_gitroot="https://github.com/SchraderMJ11/ReMyth.git"
+_gitname=ReMyth
+
+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
+ patch -Np0 -i ${srcdir}/service_type.js.patch || return 1
+
+}
+
+package() {
+ cd "${srcdir}"
+ mkdir -p $pkgdir/usr/$pkgname
+ rsync -arvp --exclude .git ${_gitname}-build/ $pkgdir/usr/${pkgname}
+}
+md5sums=('69f9edd22284e003249902999579d7c2')