Permalink
Browse files

Fix README and SlackBuild script

  • Loading branch information...
willysr committed Oct 8, 2012
1 parent 770de09 commit 6c122773ede33dc036627e138848f09dbee886cd
Showing with 12 additions and 44 deletions.
  1. +1 −1 SlackBuilds/anjuta/anjuta.info
  2. +1 −1 SlackBuilds/gtkpod/README
  3. +2 −1 SlackBuilds/vte3/README
  4. +8 −41 SlackBuilds/vte3/vte3.SlackBuild
@@ -2,7 +2,7 @@ PRGNAM="anjuta"
VERSION="3.4.4"
HOMEPAGE="http://anjuta.org/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/anjuta/3.4/anjuta-3.4.4.tar.xz"
-MD5SUM="d5986b83c3080663d631065354d7ab44"
+MD5SUM="b6a8093a8096a2337db1b50464eec1ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdl libgda vte3 gtksourceview autogen"
@@ -2,4 +2,4 @@ gtkpod is a graphical user interface for the Apple iPod for
Unix-like systems, written using the GTK+ toolkit.
Compile-Time Requirements: anjuta
-Optional Requirements: faac, faad2, webkit, libmusicbrainz3
+Optional Requirements: faac, faad2, webkit, libmusicbrainz3 libmp4v2
View
@@ -3,4 +3,5 @@ contains the VTE library and development files and a sample
implementation (vte).
This package can be installed side by side with vte included
-in default Slackware installation
+in default Slackware installation since this package is intended for
+use with GTK+3
@@ -24,10 +24,8 @@
SRCNAM=vte
PRGNAM=vte3
-VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
-
-NUMJOBS=${NUMJOBS:-" -j7 "}
+VERSION=${VERSION:-0.34.0}
+BUILD=${BUILD:-1wsr}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -82,7 +80,7 @@ CFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--mandir=/usr/man \
- --docdir=/usr/doc/$SRCNAM-$VERSION \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-introspection \
--enable-gnome-pty-helper \
@@ -98,47 +96,16 @@ make install DESTDIR=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-# Compress and link manpages, if any:
-if [ -d $PKG/usr/man ]; then
- ( cd $PKG/usr/man
- for manpagedir in $(find . -type d -name "man*") ; do
- ( cd $manpagedir
- for eachpage in $( find . -type l -maxdepth 1) ; do
- ln -s $( readlink $eachpage ).gz $eachpage.gz
- rm $eachpage
- done
- gzip -9 *.*
- )
- done
- )
-fi
-
-# Compress info files, if any:
-if [ -d $PKG/usr/info ]; then
- ( cd $PKG/usr/info
- rm -f dir
- gzip -9 *
- )
-fi
-
# Add a documentation directory:
-mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING* HACKING MAINTAINERS NEWS README* \
- $PKG/usr/doc/$SRCNAM-$VERSION
-ln -s /usr/share/gtk-doc/html/vte-0.0 $PKG/usr/doc/vte-$VERSION/html
-
-# If there's a ChangeLog, installing at least part of the recent history
-# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
- DOCSDIR=$(echo $PKG/usr/doc/$SRCNAM-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
-fi
+ AUTHORS ChangeLog COPYING* HACKING MAINTAINERS NEWS README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.${PKGTYPE:-txz}

0 comments on commit 6c12277

Please sign in to comment.