summaryrefslogtreecommitdiff
path: root/community/python2-nautilus/PKGBUILD
blob: bf36dd40c2aa82f03c4cebd123dd0aa4af4f5f67 (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
# $Id: PKGBUILD 99969 2013-10-31 02:45:16Z allan $
# 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' 'mips64el')
url="http://projects.gnome.org/nautilus-python/"
license=('GPL')
depends=('nautilus' 'python2-gobject')
replaces=('python-nautilus')
provides=('python-nautilus')
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
}