diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/medit/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/medit/PKGBUILD')
-rw-r--r-- | community/medit/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/medit/PKGBUILD b/community/medit/PKGBUILD new file mode 100644 index 000000000..9752a3ec1 --- /dev/null +++ b/community/medit/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 75884 2012-09-04 15:31:23Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=medit +pkgver=1.1.1 +pkgrel=1 +pkgdesc="A GTK text editor" +arch=('i686' 'x86_64') +url="http://mooedit.sourceforge.net" +options=('!emptydirs') +license=('GPL') +depends=('pygtk' 'libxml2' 'pcre' 'libsm' 'python2' 'gtk2' 'gcc-libs') +optdepends=('ctags' 'vte: terminal emulator') +makedepends=(pkgconfig perlxml intltool gcc-objc) +install=medit.install +source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2) +md5sums=('9ea0d396a3bf3ee6ce220365bffb7358') + +build() { + cd $srcdir/medit-$pkgver + export PYTHON=/usr/bin/python2 + [ -f Makefile ] || ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/medit-$pkgver + make DESTDIR=${pkgdir} install + cd ${pkgdir}/usr/share/medit-1/language-specs + sed -i "s|*.sh|*.sh;PKGBUILD|" sh.lang + rm -rf $pkgdir/usr/share/mime + rm -rf $pkgdir/usr/share/icons/hicolor/icon-theme.cache +} |