summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Igo <bob@stormlogic.com>2009-08-10 20:10:01 (GMT)
committerBob Igo <bob@stormlogic.com>2009-08-10 20:10:01 (GMT)
commit986e758b1542d8d7562e15b54f2fd426d2bef74d (patch)
tree598d95edf28dab29e6e7dad61bb0927aab869c4c
parent663db996f3495eda217079d9523ade4f2caf755c (diff)
downloadlinhes_pkgbuild-986e758b1542d8d7562e15b54f2fd426d2bef74d.zip
linhes_pkgbuild-986e758b1542d8d7562e15b54f2fd426d2bef74d.tar.gz
linhes_pkgbuild-986e758b1542d8d7562e15b54f2fd426d2bef74d.tar.bz2
Streamlined REPLACEME replacement, fixing a myt2xvid3 execution bit bug. Still some directory permission mismatches, but these are minor.
-rwxr-xr-xabs/extra-testing/myt2xvid3/PKGBUILD4
-rwxr-xr-xabs/extra-testing/myt2xvid3/myt2xvid3.install3
-rwxr-xr-xabs/extra-testing/myth2ipod/PKGBUILD2
-rwxr-xr-xabs/extra-testing/myth2ipod/myth2ipod.install3
4 files changed, 5 insertions, 7 deletions
diff --git a/abs/extra-testing/myt2xvid3/PKGBUILD b/abs/extra-testing/myt2xvid3/PKGBUILD
index f7d6db3..9d88ce9 100755
--- a/abs/extra-testing/myt2xvid3/PKGBUILD
+++ b/abs/extra-testing/myt2xvid3/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=myt2xvid3
pkgver=0.1
-pkgrel=6
+pkgrel=7
arch=("i686")
pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
url="http://www.knoppmythwiki.org/index.php?page=XvidEncoding"
@@ -13,6 +13,6 @@ build() {
cd $startdir/src
install -D -m 755 myt2xvid3 $startdir/pkg/usr/bin/myt2xvid3
install -D -m 755 myt2xvid3-userjob.sh $startdir/pkg/usr/bin/myt2xvid3-userjob.sh
- mkdir -m755 -p $startdir/pkg/myth/video/archive/
+ mkdir -m777 -p $startdir/pkg/myth/video/archive/
install -D -m 755 archive.php $startdir/pkg/myth/video/archive/
}
diff --git a/abs/extra-testing/myt2xvid3/myt2xvid3.install b/abs/extra-testing/myt2xvid3/myt2xvid3.install
index a27a885..b3767f3 100755
--- a/abs/extra-testing/myt2xvid3/myt2xvid3.install
+++ b/abs/extra-testing/myt2xvid3/myt2xvid3.install
@@ -16,8 +16,7 @@ post_install() {
. /etc/systemconfig
ln -s /myth/video/archive /data/srv/httpd/htdocs/archive
ln -s /myth/video/archive/archive.php /myth/video/archive/index.php
- mv /usr/bin/myt2xvid3 /tmp
- sed -e "s/REPLACEME/$HOSTNAME/g" /tmp/myt2xvid3 > /usr/bin/myt2xvid3
+ sed -i -e "s/REPLACEME/$HOSTNAME/g" /usr/bin/myt2xvid3
chown -R mythtv:http /myth/video/archive
/usr/bin/myt2xvid3 -rebuild
}
diff --git a/abs/extra-testing/myth2ipod/PKGBUILD b/abs/extra-testing/myth2ipod/PKGBUILD
index 71f6033..546e3f4 100755
--- a/abs/extra-testing/myth2ipod/PKGBUILD
+++ b/abs/extra-testing/myth2ipod/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=myth2ipod
pkgver=0.2
-pkgrel=26
+pkgrel=27
arch=("i686")
pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
url="myth2ipod.com"
diff --git a/abs/extra-testing/myth2ipod/myth2ipod.install b/abs/extra-testing/myth2ipod/myth2ipod.install
index 74f1eec..367d90f 100755
--- a/abs/extra-testing/myth2ipod/myth2ipod.install
+++ b/abs/extra-testing/myth2ipod/myth2ipod.install
@@ -16,8 +16,7 @@ post_install() {
. /etc/systemconfig
ln -s /myth/ipodfeed /data/srv/httpd/htdocs/ipodfeed
ln -s /myth/ipodfeed/m2iweb.php /myth/ipodfeed/index.php
- cp /usr/bin/myth2ipod /tmp
- sed -e "s/REPLACEME/$hostname/g" /tmp/myth2ipod > /usr/bin/myth2ipod
+ sed -i -e "s/REPLACEME/$hostname/g" /usr/bin/myth2ipod
chown -R mythtv:http /myth/ipodfeed
/usr/bin/myth2ipod -rebuild
}