diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2011-07-05 17:20:51 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:59:29 -0300 |
commit | 8e6f1ba4d856ff43e0099380446a6f799be8c142 (patch) | |
tree | 74ee29c247b98e357ce880d906790a4709315632 /office/calcurse/calcurse.SlackBuild | |
parent | 6582b6811a54012f664a1ff125c5d94eeebe1af9 (diff) | |
download | slackbuilds-8e6f1ba4d856ff43e0099380446a6f799be8c142.tar.gz |
office/calcurse: Updated for version 2.9.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/calcurse/calcurse.SlackBuild')
-rw-r--r-- | office/calcurse/calcurse.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild index bc695e4d7d..dcfad7b137 100644 --- a/office/calcurse/calcurse.SlackBuild +++ b/office/calcurse/calcurse.SlackBuild @@ -25,16 +25,14 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=calcurse -VERSION=${VERSION:-2.8} +VERSION=${VERSION:-2.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -81,7 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --build=$ARCH-slackware-linux \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -94,11 +93,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done ) +# Remove the manual.html since it's the same as the one in /usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS ChangeLog NEWS README TODO doc/* \ +cp -a AUTHORS COPYING INSTALL NEWS README TODO doc/* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |