[arch-commits] Commit in gobject-introspection/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Mar 20 17:31:36 UTC 2016
Date: Sunday, March 20, 2016 @ 18:31:36
Author: heftig
Revision: 262119
Try python3 again
Modified:
gobject-introspection/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-20 17:31:22 UTC (rev 262118)
+++ PKGBUILD 2016-03-20 17:31:36 UTC (rev 262119)
@@ -3,28 +3,30 @@
pkgbase=gobject-introspection
pkgname=('gobject-introspection' 'gobject-introspection-runtime')
+pkgdesc="Introspection system for GObject-based libraries"
pkgver=1.47.92
-pkgrel=1
+pkgrel=2
url="https://live.gnome.org/GObjectIntrospection"
arch=('x86_64' 'i686')
license=('LGPL' 'GPL')
-makedepends=('cairo' 'python2' 'python2-mako')
+depends=('python' 'python-mako')
+makedepends=('cairo')
+options=('!emptydirs')
source=(https://download.gnome.org/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz)
sha256sums=('c8ced38348e436222fda5e0abdc31022e8017d8732fe69da5c92285a37766ac8')
prepare() {
cd $pkgbase-$pkgver
- sed -i '1s|#!/usr/bin/env python$|&2|' giscanner/*.py
}
build() {
cd $pkgbase-$pkgver
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool
+ ./configure --prefix=/usr --disable-static --enable-doctool
make
}
package_gobject-introspection-runtime() {
- pkgdesc="Introspection system for GObject-based libraries - runtime files"
+ pkgdesc+=" - runtime files"
depends=('glib2')
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA
@@ -31,9 +33,7 @@
}
package_gobject-introspection() {
- pkgdesc="Introspection system for GObject-based libraries"
- depends=("gobject-introspection-runtime=$pkgver" 'python2-mako' 'python2')
- options=('!emptydirs')
+ depends+=("gobject-introspection-runtime=$pkgver")
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install
More information about the arch-commits
mailing list