summaryrefslogtreecommitdiff
path: root/testing/libpeas/PKGBUILD
blob: 41a36fb4fa6e9e903a0f7b226c2b4290d059c6c9 (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 139004 2011-09-28 19:32:24Z ibiru $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>

pkgname=libpeas
pkgver=1.2.0
pkgrel=1
pkgdesc="A GObject-based plugins engine"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
license=('GPL2')
depends=('gtk3' 'hicolor-icon-theme' 'gobject-introspection')
makedepends=('gtk-doc' 'intltool' 'vala' 'python2-gobject' 'gjs' 'seed')
optdepends=('gjs: gobject-based plugin engine - gjs runtime loader'
            'seed: gbject-based plugin engine - seed runtime loader')
options=('!libtool')
install=libpeas.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz)
sha256sums=('871868ff44352367a4b4602352f60fd20eb99794ade454f3b120d87c1560f31c')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
    --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et: