forked from ports/contrib
29 lines
784 B
Plaintext
29 lines
784 B
Plaintext
# Description: text editor
|
|
# URL: http://mooedit.sourceforge.net/
|
|
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
|
|
# Depends on: gtk
|
|
|
|
name=medit
|
|
version=0.9.4
|
|
release=1
|
|
source=(http://sourceforge.net/projects/mooedit/files/$name/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
# credits to medit archlinux maintainer
|
|
# Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# for this one:
|
|
sed -i 's#getline(#xgetline(#' moo/moolua/ldebug.c \
|
|
moo/moolua/ldebug.h moo/moolua/lvm.c
|
|
./configure \
|
|
--disable-nls \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-generated-files
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/doc
|
|
rm -rf $PKG/usr/include
|
|
find $PKG -empty -delete
|
|
}
|