summaryrefslogtreecommitdiff
path: root/community/mime-editor/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mime-editor/PKGBUILD')
-rw-r--r--community/mime-editor/PKGBUILD33
1 files changed, 0 insertions, 33 deletions
diff --git a/community/mime-editor/PKGBUILD b/community/mime-editor/PKGBUILD
deleted file mode 100644
index ca450686e..000000000
--- a/community/mime-editor/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 27254 2010-09-18 22:01:47Z schuay $
-# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.dot.org>
-
-pkgname=mime-editor
-pkgver=0.6
-pkgrel=2
-pkgdesc='Shared-mime info database editor, useful for changing MIME-type info in rox applications'
-arch=('i686' 'x86_64')
-url='http://rox.sourceforge.net/mime_editor.html'
-license=('GPL2')
-depends=('pygtk' 'rox-lib' 'shared-mime-info')
-groups=('rox-desktop')
-source=("http://downloads.sourceforge.net/project/rox/MIME-Editor/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'mime-editor')
-md5sums=('bfa250d074b6a712c1fce936a5fcaae4'
- '9438b0a8d591abd03099ac5961540d4a')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- # python2 fix
- for file in $(find . -name '*.py' -print) MIME-Editor/AppRun; do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- mkdir -p ${pkgdir}/usr/share
-
- cp -rp MIME-Editor ${pkgdir}/usr/share
-
- # create a shellscript which is known in the PATH
- install -D ${srcdir}/$pkgname ${pkgdir}/usr/bin/$pkgname
-}