summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/xmltv/xmltv.SlackBuild17
-rw-r--r--multimedia/xmltv/xmltv.info6
2 files changed, 14 insertions, 9 deletions
diff --git a/multimedia/xmltv/xmltv.SlackBuild b/multimedia/xmltv/xmltv.SlackBuild
index fd3b64ed8b..866e672fe9 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
diff --git a/multimedia/xmltv/xmltv.info b/multimedia/xmltv/xmltv.info
index a4a433c384..2be7d4f300 100644
--- a/multimedia/xmltv/xmltv.info
+++ b/multimedia/xmltv/xmltv.info
@@ -1,8 +1,8 @@
PRGNAM="xmltv"
-VERSION="0.5.50"
+VERSION="0.5.51"
HOMEPAGE="http://xmltv.org/wiki/"
-DOWNLOAD="http://downloads.sourceforge.net/xmltv/xmltv-0.5.50.tar.bz2"
-MD5SUM="eb5f7235215906153ea996e2910954ae"
+DOWNLOAD="http://downloads.sourceforge.net/xmltv/xmltv-0.5.51.tar.bz2"
+MD5SUM="b0b3f0d31b0e7fbc2f615024faedfbb7"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman"