summaryrefslogtreecommitdiff
path: root/community/medit
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-14 04:54:18 +0000
committerroot <root@rshg047.dnsready.net>2011-04-14 04:54:18 +0000
commit0917a0682e48c4261e47d743725d990f47f6ec95 (patch)
tree32b99e036a20918da470922bf40276cedcfe7506 /community/medit
parent9c49791f6e912bd4834f00f2c6b3a00e6c12bb73 (diff)
Thu Apr 14 04:54:18 UTC 2011
Diffstat (limited to 'community/medit')
-rw-r--r--community/medit/PKGBUILD11
-rw-r--r--community/medit/medit.install1
2 files changed, 4 insertions, 8 deletions
diff --git a/community/medit/PKGBUILD b/community/medit/PKGBUILD
index 797667386..3664e3001 100644
--- a/community/medit/PKGBUILD
+++ b/community/medit/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 40816 2011-02-28 12:02:36Z spupykin $
+# $Id: PKGBUILD 44959 2011-04-13 12:32:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=medit
-pkgver=1.0.1
+pkgver=1.0.2
pkgrel=1
pkgdesc="A GTK text editor"
arch=('i686' 'x86_64')
@@ -16,25 +16,22 @@ makedepends=(pkgconfig perlxml intltool gcc-objc)
install=medit.install
source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2
capsule.diff)
-md5sums=('2f1a73d6e5a2d180d7634ce1f98c4821'
+md5sums=('331701a1e0255ec3cd1899c7a6f6818b'
'd3386ca02ba598c73c581bf983a15f23')
build() {
cd $srcdir/medit-$pkgver
export PYTHON=/usr/bin/python2
- patch -Np1 -i $srcdir/capsule.diff
+# patch -Np1 -i $srcdir/capsule.diff
[ -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
}
diff --git a/community/medit/medit.install b/community/medit/medit.install
index b4ee8556f..b95cc069d 100644
--- a/community/medit/medit.install
+++ b/community/medit/medit.install
@@ -9,4 +9,3 @@ post_upgrade() {
post_remove() {
which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
}
-