summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mediaserv/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-06-15 05:15:54 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-06-15 05:15:54 (GMT)
commit11d14e8983c0efefedc169bb685f4103f44ebb28 (patch)
tree6aa7f2c3a6162eef45598d347faa2a940c0ccb4c /abs/extra-testing/mediaserv/PKGBUILD
parentb760ec370e5f2265ee619e394d44b7fd8b3e2346 (diff)
downloadlinhes_pkgbuild-11d14e8983c0efefedc169bb685f4103f44ebb28.zip
linhes_pkgbuild-11d14e8983c0efefedc169bb685f4103f44ebb28.tar.gz
linhes_pkgbuild-11d14e8983c0efefedc169bb685f4103f44ebb28.tar.bz2
Added run and finish files for mediaserv.
Diffstat (limited to 'abs/extra-testing/mediaserv/PKGBUILD')
-rw-r--r--abs/extra-testing/mediaserv/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/extra-testing/mediaserv/PKGBUILD b/abs/extra-testing/mediaserv/PKGBUILD
index c117dbe..330b23b 100644
--- a/abs/extra-testing/mediaserv/PKGBUILD
+++ b/abs/extra-testing/mediaserv/PKGBUILD
@@ -3,23 +3,25 @@
pkgname=mediaserv
pkgver=0.05
-pkgrel=3
-pkgdesc="On-deman transcoding server for videos, targetting the Nokia Internet Tablets."
+pkgrel=4
+pkgdesc="On-demand transcoding server for videos, targetting the Nokia Internet Tablets."
arch=('i686' 'x86_64')
license=('ARTISTIC')
depends=('tablet-encode' 'perl-xml-rss')
install=(mediaserv.install)
url="http://mediautils.garage.maemo.org/tablet-encode.html"
-source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2 mediaserv.no_daemon.patch)
+source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2 mediaserv.no_daemon.patch run finish)
build() {
cd ${srcdir}/mediaserv
patch -Np1 -i ${startdir}/src/mediaserv.no_daemon.patch || return 1
mkdir -p $startdir/pkg/usr/bin
+ mkdir -p $startdir/pkg/etc/sv/mediaserv/supervise
mkdir -p $startdir/pkg/usr/share/doc/mediaserv
mkdir -p $startdir/pkg/myth/mediaserv
mkdir -p $startdir/pkg/myth/mediaserv/media
install -D -m755 mediaserv $startdir/pkg/usr/bin
cp README.txt $startdir/pkg/usr/share/doc/mediaserv
cp -a ${srcdir}/.mediaserv/* ${pkgdir}/myth/mediaserv
+ install -D -m755 ${srcdir}/run ${srcdir}/finish $startdir/pkg/etc/sv/mediaserv
}