mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
960 B
Bash
31 lines
960 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
|
||
|
pkgname=medit
|
||
|
pkgver=0.9.4
|
||
|
pkgrel=8
|
||
|
pkgdesc="A GTK text editor"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://mooedit.sourceforge.net"
|
||
|
options=('!emptydirs')
|
||
|
license=('GPL')
|
||
|
depends=('pygtk' 'libxml2' 'pcre' 'libsm' 'python' 'gtk2' 'gcc-objc')
|
||
|
makedepends=(pkgconfig perlxml intltool)
|
||
|
install=medit.install
|
||
|
source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2)
|
||
|
md5sums=('502086d22d608232d48ef70d56ef5f84')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/medit-$pkgver
|
||
|
|
||
|
sed -i 's#getline(#xgetline(#' moo/moolua/ldebug.c moo/moolua/ldebug.h moo/moolua/lvm.c || return 1
|
||
|
|
||
|
./configure --prefix=/usr --with-pygtk --with-python --with-xml
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install || return 1
|
||
|
|
||
|
rm -rf $startdir/pkg/usr/share/mime && \
|
||
|
rm -rf $startdir/pkg/usr/share/icons/hicolor/icon-theme.cache
|
||
|
}
|