aboutsummaryrefslogtreecommitdiff
path: root/academic/biblesync/biblesync.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/biblesync/biblesync.SlackBuild')
-rw-r--r--academic/biblesync/biblesync.SlackBuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/academic/biblesync/biblesync.SlackBuild b/academic/biblesync/biblesync.SlackBuild
index cc97b45b9992..ffe9300400e6 100644
--- a/academic/biblesync/biblesync.SlackBuild
+++ b/academic/biblesync/biblesync.SlackBuild
@@ -31,8 +31,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=biblesync
-VERSION=${VERSION:-2.0.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -78,8 +78,6 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-#patch bug in pkgconfig file. can remove this after next release of biblesync
-sed -i "/^Cflags/s_/bibleysnc__" biblesync.pc.in
cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@@ -93,23 +91,18 @@ make install DESTDIR=$PKG
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
-# Compress man page
-mkdir -p $PKG/usr/man/man7
-mv $PKG/usr/share/man/man7/$PRGNAM.7 $PKG/usr/man/man7/$PRGNAM.7
+mv $PKG/usr/share/man $PKG/usr/
gzip $PKG/usr/man/man7/$PRGNAM.7
#remove old man path
rm -r $PKG/usr/share
-#copy over docs etc.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-#now to make the package
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}