# Description: GTK+ text editor # URL: https://github.com/abbat/medit # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: gtk xorg-libxdamage name=medit version=1.2.92 release=1 source=(https://github.com/abbat/medit/archive/v${version}/medit-v${version}.tar.gz) build() { cd $name-$version # Recognise Pkgfiles, .*rsync and *.httpup as shell script, thanks Chris Farrell sed -i 's/*.sh/*.sh;*.rsync;*.httpup;Pkgfile/' moo/mooedit/langs/sh.lang ./configure --prefix=/usr \ --disable-install-hooks \ --with-python=no make make DESTDIR="$PKG" install rm -fr $PKG/usr/share/{locale,doc} }