aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmltv/xmltv.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-11 22:25:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:25:01 +0200
commit704c499da287963998a3661c22d779a38b7201e7 (patch)
treea21d4a9042c231af08cf06cc65b959edd045962a /multimedia/xmltv/xmltv.SlackBuild
parent4431d461b67116441ace8e5c3caea6b0218ba141 (diff)
multimedia/xmltv: Updated for version 0.5.51
Diffstat (limited to 'multimedia/xmltv/xmltv.SlackBuild')
-rw-r--r--multimedia/xmltv/xmltv.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/multimedia/xmltv/xmltv.SlackBuild b/multimedia/xmltv/xmltv.SlackBuild
index fd3b64ed8bf9..866e672fe9fc 100644
--- a/multimedia/xmltv/xmltv.SlackBuild
+++ b/multimedia/xmltv/xmltv.SlackBuild
@@ -21,18 +21,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set -e
-
PRGNAM=xmltv
-VERSION=0.5.50
+VERSION=0.5.51
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -40,11 +41,15 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
perl Makefile.PL -default
make
-make pure_install DESTDIR=$PKG/
+make pure_vendor_install DESTDIR=$PKG/
mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share
@@ -57,7 +62,7 @@ rmdir $PKG/usr/share
# Remove perlocal.pod and .packlist from $PKG; other empty directories
( cd $PKG
find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
- rm -rf usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/
+# rm -rf usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION