### this file is sourced not run
PKGVER=5.2.8
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=mp-5.2.8.tar.gz
MD5SUM=2c06f9ebb8bd7b777df504763416de33 
SRC_URL=http://triptico.com/download/mp/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC='mp: mp 5.2.8 (Text editor)  
mp:  
mp: mp (Minimum Profit) is a text editof for programmers, featuring: 
mp: scriptability, unlimited undo, syntax highlighting.  
mp: 
mp: This editor in this package can use terminal or gtk.
mp: 
mp: 
mp: 
mp: 
mp:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/mp*
	sed -i -e 's|ncursesw/||g' *.c *.h *.sh
	./config.sh --prefix=/usr --without-qt4 &&
	make $MAKEFLAGS && make install &&
	ln -sf mp-5 /usr/bin/mp &&
	pkg_build_slackdesc
}
