PKGBUILDs/community/mime-editor/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
859 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.dot.org>
pkgname=mime-editor
pkgver=0.5
pkgrel=1
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=('python>=2.2' 'pygtk>=2.0' 'rox-lib' 'shared-mime-info')
groups=('rox-desktop')
source=(http://downloads.sourceforge.net/sourceforge/rox/$pkgname-$pkgver.tgz mime-editor)
md5sums=('a86d3d6b70bbce58abb6d393a9e8eede' '9438b0a8d591abd03099ac5961540d4a')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/share
cp -rp MIME-Editor $startdir/pkg/usr/share
# create a shellscript which is known in the PATH
install -D -m755 $startdir/src/$pkgname $startdir/pkg/usr/bin/$pkgname
}