/
PKGBUILD
36 lines (32 loc) · 1.34 KB
/
PKGBUILD
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
# Maintainer: György Balló <ballogy@freestart.hu>
pkgname=conduit
pkgver=0.3.17
pkgrel=8
pkgdesc="Synchronization for GNOME"
arch=('any')
url="http://live.gnome.org/Conduit"
license=('GPL')
depends=('dbus-python>=0.80.0' 'pygoocanvas>=0.9.0' 'gstreamer0.10-python' 'python2-gconf' 'python-pysqlite' 'python-vobject' 'pywebkitgtk' 'hicolor-icon-theme' 'xdg-utils')
makedepends=('intltool>=0.35.0' 'gnome-doc-utils>=0.3.2')
optdepends=('python-gdata: required for Google module'
'python2-feedparser: required for Feed module'
'python2-flickrapi: required for Flickr module'
'libgpod: required for iPod module'
'python-evolution: required for Evolution module'
'python-imaging: required for Facebook module'
'python-simplejson: required for Facebook module')
install=$pkgname.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
sha256sums=(dfbc00490b0170f22eb6e73b893da40c48556d8982b8400484e19fa617f5f934)
build() {
cd "$srcdir/$pkgname-$pkgver"
find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-scrollkeeper \
PYTHON=python2
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}