summaryrefslogtreecommitdiff
path: root/community/dee/PKGBUILD
blob: 41a245c8fcbd5d30c480aea12d5ea6ff4256e406 (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
# $Id: PKGBUILD 75926 2012-09-05 16:57:29Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=dee
pkgver=1.0.14
pkgrel=1
pkgdesc="Library to provide objects allowing to create Model-View-Controller type programs across DBus"
arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/dee"
license=('LGPL')
depends=('glib2' 'icu')
makedepends=('python2' 'gobject-introspection' 'vala')
options=('!libtool')
source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
md5sums=('473b4181e26538af0fb753255da7945c')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
              --disable-static --disable-tests \
              PYTHON=python2
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install

  # Install GI overrides for python 3 as well
  install -dm755 "$pkgdir/usr/lib/python3.2/site-packages/gi/overrides"
  ln -s ../../../../python2.7/site-packages/gi/overrides/Dee.py "$pkgdir/usr/lib/python3.2/site-packages/gi/overrides/Dee.py"
}