summaryrefslogtreecommitdiffstats
path: root/extra/gamin/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gamin/Pkgfile')
-rwxr-xr-xextra/gamin/Pkgfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/gamin/Pkgfile b/extra/gamin/Pkgfile
index b0180170e..af7873dfb 100755
--- a/extra/gamin/Pkgfile
+++ b/extra/gamin/Pkgfile
@@ -12,11 +12,17 @@ source=( http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz\
build() {
cd $name-$version
- patch -Np1 -i ../gamin-0.1.9-ucred-headers.patch
+
+# patch -Np1 -i ../gamin-0.1.9-ucred-headers.patch
+
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' python/gamin.py
+
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --libexecdir=/usr/bin
+ --libexecdir=/usr/bin \
+ --with-python=/usr/bin/python2
+
make
make DESTDIR=$PKG install
}