blob: 5f773d17c299653c8998bff346972959dfdb0466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
}
|