diff options
author | Nicholas Hubbard <nicholashubbard@posteo.net> | 2023-08-29 15:36:54 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-02 18:02:35 +0700 |
commit | f73a676b0e8710ebee191b2d627c46ad3ef39ed8 (patch) | |
tree | e56151ead38bdb6ca928860fac8d14755efcfff6 /office/mu | |
parent | 1b6fe108a92a4f5f7838e319953545d81029737b (diff) |
office/mu: Updated for version 1.10.6.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/mu')
-rw-r--r-- | office/mu/doinst.sh | 4 | ||||
-rw-r--r-- | office/mu/mu.SlackBuild | 41 | ||||
-rw-r--r-- | office/mu/mu.info | 6 |
3 files changed, 29 insertions, 22 deletions
diff --git a/office/mu/doinst.sh b/office/mu/doinst.sh new file mode 100644 index 000000000000..b884364025fc --- /dev/null +++ b/office/mu/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/install-info ]; then + /usr/bin/install-info --info-dir=usr/info usr/info/mu4e.info.gz + /usr/bin/install-info --info-dir=usr/info usr/info/mu-guile.info.gz +fi diff --git a/office/mu/mu.SlackBuild b/office/mu/mu.SlackBuild index 40629840724b..376d3c2360d5 100644 --- a/office/mu/mu.SlackBuild +++ b/office/mu/mu.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mu -VERSION=${VERSION:-1.8.11} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.10.6} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,21 +79,21 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# AC_CHECK_INCLUDES_DEFAULT is not available in autoreconf version 2.69, -# which is the version included in Slackware 15.0. -sed -i '/^AC_CHECK_INCLUDES_DEFAULT$/d' configure.ac -autoreconf -fi -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --build=$ARCH-slackware-linux - -make V=1 -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -101,19 +101,22 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +mv $PKG/usr/share/info $PKG/usr +rm -r $PKG/usr/share/doc rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING README.org NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING README.org NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/office/mu/mu.info b/office/mu/mu.info index 6825d2157901..39204b7a40fb 100644 --- a/office/mu/mu.info +++ b/office/mu/mu.info @@ -1,8 +1,8 @@ PRGNAM="mu" -VERSION="1.8.11" +VERSION="1.10.6" HOMEPAGE="http://www.djcbsoftware.nl/code/mu/" -DOWNLOAD="https://github.com/djcb/mu/releases/download/v1.8.11/mu-1.8.11.tar.xz" -MD5SUM="357e679b45ccccbb63058eb7cd133ec9" +DOWNLOAD="https://github.com/djcb/mu/releases/download/v1.10.6/mu-1.10.6.tar.xz" +MD5SUM="cc1718166babc6ef6723e97360ccf588" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |