blob: 9757c1705b373519b78b66999247639b62be5c57 (
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$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gobject-introspection
pkgver=1.42.0
pkgrel=1
pkgdesc="Introspection system for GObject-based libraries"
url="https://live.gnome.org/GObjectIntrospection"
arch=('x86_64' 'i686')
license=('LGPL' 'GPL')
depends=('glib2')
makedepends=('cairo' 'python2' 'python2-mako')
optdepends=('python2: gir development tools'
'python2-mako: g-ir-doc-tool')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('3ba2edfad4f71d4f0de16960b5d5f2511335fa646b2c49bbb93ce5942b3f95f7')
prepare() {
cd $pkgname-$pkgver
sed -i '1s|#!/usr/bin/env python$|&2|' giscanner/*.py
}
build() {
cd $pkgname-$pkgver
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|