#!/bin/bash # # Maintainer: Deposite Pirate source /usr/src/ports/Build/build.sh NAME=bluefish VERSION=2.2.6 BUILD=1 DEPENDS=('gtk+ >= 3.8.0-1' 'enchant >= 1.6.0-1') OPTDEPENDS=('gucharmap >= 3.8.0-1' 'python >= 2.7.4-1') # Description cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null fi EOF # Sources SRCNAME[0]=${NAME} SRCVERS[0]=${VERSION} SRCPACK[0]=http://www.bennewitz.com/bluefish/stable/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 SRCCOPY[0]="GPL3" build0() { sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' \ $(find . -name "*.py") data/{jsbeautify,lorem-ipsum-generator} CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ ./configure \ --build="${ARCH}-slackware-linux" \ --disable-dependency-tracking \ --enable-static=no \ --enable-shared=yes \ --prefix="${SYS_DIR[usr]}" \ --mandir="${SYS_DIR[man]}" \ --sysconfdir="${SYS_DIR[etc]}" \ --libdir="${SYS_DIR[lib]}/plugins" \ --localstatedir="${SYS_DIR[var]}" \ --datadir="${SYS_DIR[share]}/application-data" \ --disable-update-databases \ --disable-xml-catalog-update \ --enable-spell-check make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS changelog ChangeLog rm -rf ${PKG}${SYS_DIR[doc]}/bluefish }