diff options
author | Dave Woodfall <dave@tty1.uk> | 2019-03-02 02:46:07 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-03-16 06:51:54 +0700 |
commit | cf347bebda82780f99f8e0c5f4227208665f16e7 (patch) | |
tree | 2b82c8f4eee0cd8eefa0544b21a47a19dfc1aafb /multimedia/AtomicParsley/AtomicParsley.SlackBuild | |
parent | db85da7f3d5e8b6efdf53de3d8c8f7f0dfded399 (diff) |
multimedia/AtomicParsley: Update to 0.9.6
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/AtomicParsley/AtomicParsley.SlackBuild')
-rw-r--r-- | multimedia/AtomicParsley/AtomicParsley.SlackBuild | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/multimedia/AtomicParsley/AtomicParsley.SlackBuild b/multimedia/AtomicParsley/AtomicParsley.SlackBuild index 51578beb3e41f..0542278c77b00 100644 --- a/multimedia/AtomicParsley/AtomicParsley.SlackBuild +++ b/multimedia/AtomicParsley/AtomicParsley.SlackBuild @@ -22,8 +22,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=AtomicParsley -SRCNAM=AtomicParsley-source -VERSION=${VERSION:-0.9.0} +SRCNAM=atomicparsley +SRCDIR=wez-$SRCNAM-da2f6e4fc120 +VERSION=${VERSION:-0.9.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +61,10 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf __MACOSX -rm -rf $SRCNAM-$VERSION -unzip $CWD/$SRCNAM-$VERSION.zip -cd $SRCNAM-$VERSION +rm -rf $SRCDIR +#unzip $CWD/$SRCNAM-$VERSION.zip +tar xfv $CWD/$VERSION.tar.gz +cd $SRCDIR chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,17 +72,30 @@ 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 {} \; -patch -p1 <$CWD/build-fix.patch -./build +./autogen.sh -mkdir -p $PKG/usr/bin -cp AtomicParsley $PKG/usr/bin +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Using\ AtomicParsley.rtf $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + COPYING CREDITS Changes.txt README.md $CWD/Using_AtomicParsley.rtf \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |