summaryrefslogtreecommitdiff
path: root/community/python2-nautilus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-nautilus/PKGBUILD')
-rw-r--r--community/python2-nautilus/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/python2-nautilus/PKGBUILD b/community/python2-nautilus/PKGBUILD
new file mode 100644
index 000000000..4e79d732c
--- /dev/null
+++ b/community/python2-nautilus/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 72850 2012-06-24 00:37:15Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giorgio Gilestro <giorgio@gilest.ro>
+
+pkgname=python2-nautilus
+_pkgname=nautilus-python
+pkgver=1.1
+pkgrel=3
+pkgdesc="Python bindings for the Nautilus Extension API"
+arch=('i686' 'x86_64')
+url="http://projects.gnome.org/nautilus-python/"
+license=('GPL')
+depends=('nautilus' 'python2-gobject')
+replaces=('python-nautilus')
+provides=('python-nautilus')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.xz)
+sha256sums=('7825e08ada8e131f829d0e7d4144dcfac9fad7bfd7c0600bf3985349c20c496b')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}