[Slackbuilds-users] making a SlackBuild for golly
J
j at dawnrazor.net
Thu Dec 27 19:21:33 UTC 2012
There is likely an issue here:
VERSION=${VERSION:-2.4-src}
/sbin/makepkg -l y -c n
$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
Willy is quite correct regarding the "-src" bit; the pkgtools reverse
the long package name then count the dashes backwards, so that dash
before "src" makes the version "src" and the package name
"golly--2.4". which brings us to the second issue - you are setting
VERSION=-2.4 and then running makepkg with "$PRGNAM-$VERSION" -
meaning you have two dashes.
Quoting Larry Hajali <larryhaja at gmail.com>:
> It should go without saying that you should run 'removepkg golly-2.4'
> before installing the new package. Otherwise, you'll have 2 programs with
> the same contents.
>
> --Larry
>
> On Thu, Dec 27, 2012 at 5:27 AM, Willy Sudiarto Raharjo
> <willysr at gmail.com>wrote:
>
>> > http://pastebin.com/Dythzi6i
>> >
>> > ... my only thought is the eccentric version number might be causing
>> > problems ...?
>>
>> Yes
>> you should have this line
>> VERSION=${VERSION:-2.4}
>>
>> and move -src part to this line
>> rm -rf $PRGNAM-$VERSION-src
>> tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
>> cd $PRGNAM-$VERSION-src
>>
>> and it should be working as intended
>>
>>
>> --
>> Willy Sudiarto Raharjo
>> Personal Blog : http://willysr.blogspot.com
>> Linux Blog: http://slackblogs.blogspot.com
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
>>
More information about the SlackBuilds-users
mailing list