summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7450404d977f498553eedc264dacde0c6b510cc (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
# Maintainer: Ben Wolsieffer <benwolsieffer@gmail.com>
# Contributor: Balló György <ballogyor+arch@gmail.com>

pkgname=dee
pkgver=1.2.7
pkgrel=5
pkgdesc='Model to synchronize multiple instances over DBus'
arch=('i686' 'x86_64')
url='https://launchpad.net/dee'
license=('LGPL')
depends=('glib2' 'icu')
makedepends=('gobject-introspection' 'python2' 'vala')
source=("http://launchpad.net/${pkgname}/1.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
sha256sums=('1bf0336ce684aa0f48d6eae2469628c1a9b43695a77443bc31a5790aa673bf8a')

build() {
  cd ${pkgname}-${pkgver}

  export PYTHON='/usr/bin/python2'
  ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --disable-{static,tests}
  make
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR="${pkgdir}" install

# Is this useful? Fedora does not include these.
#  # Install GI overrides for python 3 as well
#  install -dm 755 "${pkgdir}"/usr/lib/python3.3/site-packages/gi/overrides
#  ln -s ../../../../python2.7/site-packages/gi/overrides/Dee.py "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides/Dee.py"
}

# vim: ts=2 sw=2 et: