diff options
Diffstat (limited to 'extra/source/fltk/fltk.SlackBuild')
-rwxr-xr-x | extra/source/fltk/fltk.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/source/fltk/fltk.SlackBuild b/extra/source/fltk/fltk.SlackBuild index 76d0aa5b..a194c8d3 100755 --- a/extra/source/fltk/fltk.SlackBuild +++ b/extra/source/fltk/fltk.SlackBuild @@ -23,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=fltk -SRCNAM=fltk-release -VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +SRCNAM=fltk +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | cut -f 2 -d -)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -82,7 +82,7 @@ mkdir -p $TMP $PKG cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-${VERSION}.tar.lz || exit 1 +tar xvf $CWD/$SRCNAM-${VERSION}-source.tar.?z || exit 1 cd $SRCNAM-$VERSION || exit 1 zcat $CWD/fltk.fltk-config.in.diff.gz | patch -p1 --verbose || exit 1 |