diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/parano/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/parano/PKGBUILD')
-rw-r--r-- | community/parano/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/parano/PKGBUILD b/community/parano/PKGBUILD new file mode 100644 index 000000000..5f773d17c --- /dev/null +++ b/community/parano/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 27187 2010-09-18 15:58:45Z schuay $ +# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> +# Contributor: William Rea <sillywilly@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=parano +pkgver=0.3.5 +pkgrel=4 +pkgdesc="A GNOME frontend for creating/editing/checking MD5 and SFV files" +arch=('i686' 'x86_64') +url="http://parano.berlios.de" +license=('GPL') +depends=('gnome-python' 'shared-mime-info') +makedepends=('intltool') +install=parano.install +source=(http://download.berlios.de/parano/parano-${pkgver}.tar.gz \ + mime.diff) +md5sums=('126cc42492c1dcf4c5e1b4a3c616acb6' \ + '6dd541ece566505e61f6e94c91a26798') + +build() { + cd ${srcdir}/parano-${pkgver} + + # python2 fix + for file in $(find . -name '*.py' -print); do + sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + + patch -Np0 -i ../mime.diff + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/parano-${pkgver} + + make DESTDIR=${pkgdir} install +} |