[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Tuesday, September 12, 2017 @ 21:08:49 Author: heftig Revision: 305385 archrelease: copy trunk to gnome-unstable-x86_64, gnome-unstable-i686 Added: gobject-introspection/repos/gnome-unstable-i686/PKGBUILD (from rev 305384, gobject-introspection/trunk/PKGBUILD) gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305384, gobject-introspection/trunk/PKGBUILD) Deleted: gobject-introspection/repos/gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch gobject-introspection/repos/gnome-unstable-i686/PKGBUILD gobject-introspection/repos/gnome-unstable-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD --+ /PKGBUILD| 98 ++ gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 gnome-unstable-i686/PKGBUILD | 52 - gnome-unstable-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 gnome-unstable-x86_64/PKGBUILD | 52 - 5 files changed, 98 insertions(+), 278 deletions(-) Deleted: gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch === --- gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch 2017-09-12 21:07:46 UTC (rev 305384) +++ gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch 2017-09-12 21:08:49 UTC (rev 305385) @@ -1,87 +0,0 @@ -From 740f5325360e5219b5129401fda90dd34d6cf47c Mon Sep 17 00:00:00 2001 -From: Jan de Groot -Date: Thu, 20 Oct 2016 12:14:19 + -Subject: [PATCH] giscanner: fix EOF check with flex >= 2.6.1 - -It looks like flex 2.6.1 changed [1] the return code for EOF in -yyinput. Therefore, use the right value depending on the version of -flex which generates the lexer. - -[1] https://github.com/westes/flex/commit/f863c9490e6912ffcaeb12965fb3a567a10745ff - giscanner/scannerlexer.l | 21 +++-- - 1 file changed, 15 insertions(+), 6 deletions(-) - -diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l -index 21ef570..bd546d5 100644 a/giscanner/scannerlexer.l -+++ b/giscanner/scannerlexer.l -@@ -59,6 +59,15 @@ static void process_linemarks (GISourceScanner *scanner, gboolean has_line); - static int check_identifier (GISourceScanner *scanner, const char *); - static int parse_ignored_macro (void); - static void print_error (GISourceScanner *scanner); -+ -+#if (YY_FLEX_MAJOR_VERSION > 2) \ -+ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION > 6)) \ -+ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION == 6) && (YY_FLEX_SUBMINOR_VERSION >= 1)) -+#define IS_EOF 0 -+#else -+#define IS_EOF EOF -+#endif -+ - %} - - %option nounput -@@ -270,7 +279,7 @@ parse_comment (GISourceScanner *scanner) - c1 = input(); - c2 = input(); - -- if (c2 != EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { -+ if (c2 != IS_EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { - /* - * Store GTK-Doc comment blocks, - * starts with one '/' followed by exactly two '*' and not followed by a '/' -@@ -283,7 +292,7 @@ parse_comment (GISourceScanner *scanner) - - comment_lineno = lineno; - --while (c2 != EOF && !(c1 == '*' && c2 == '/')) -+while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) - { - if (!skip) - g_string_append_c (string, c1); -@@ -311,7 +320,7 @@ parse_comment (GISourceScanner *scanner) - /* - * Ignore all other comment blocks - */ --while (c2 != EOF && !(c1 == '*' && c2 == '/')) -+while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) - { - if (c1 == '\n') - lineno++; -@@ -436,19 +445,19 @@ parse_ignored_macro (void) - int c; - int nest; - -- while ((c = input ()) != EOF && isspace (c)) -+ while ((c = input ()) != IS_EOF && isspace (c)) - ; - if (c != '(') - return FALSE; - - nest = 0; -- while ((c = input ()) != EOF && (nest > 0 || c != ')')) { -+ while ((c = input ()) != IS_EOF && (nest > 0 || c != ')')) { - if (c == '(') - nest++; - else if (c == ')') - nest--; - else if (c == '"') { -- while ((c = input ()) != EOF && c != '"') { -+ while ((c = input ()) != IS_EOF && c != '"') { - if (c == '\\') - c = input (); - } --- -2.10.0 - Deleted: gnome-unstable-i686/PKGBUILD === --- gnome-unstable-i686/PKGBUILD2017-09-12 21:07:46 UTC (rev 305384) +++
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Sunday, September 10, 2017 @ 07:00:13 Author: heftig Revision: 305201 archrelease: copy trunk to gnome-unstable-x86_64, gnome-unstable-i686 Added: gobject-introspection/repos/gnome-unstable-i686/ gobject-introspection/repos/gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 305200, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) gobject-introspection/repos/gnome-unstable-i686/PKGBUILD (from rev 305200, gobject-introspection/trunk/PKGBUILD) gobject-introspection/repos/gnome-unstable-x86_64/ gobject-introspection/repos/gnome-unstable-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 305200, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305200, gobject-introspection/trunk/PKGBUILD) --+ gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 ++ gnome-unstable-i686/PKGBUILD | 52 + gnome-unstable-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 ++ gnome-unstable-x86_64/PKGBUILD | 52 + 4 files changed, 278 insertions(+) Copied: gobject-introspection/repos/gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 305200, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) === --- gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (rev 0) +++ gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch 2017-09-10 07:00:13 UTC (rev 305201) @@ -0,0 +1,87 @@ +From 740f5325360e5219b5129401fda90dd34d6cf47c Mon Sep 17 00:00:00 2001 +From: Jan de Groot +Date: Thu, 20 Oct 2016 12:14:19 + +Subject: [PATCH] giscanner: fix EOF check with flex >= 2.6.1 + +It looks like flex 2.6.1 changed [1] the return code for EOF in +yyinput. Therefore, use the right value depending on the version of +flex which generates the lexer. + +[1] https://github.com/westes/flex/commit/f863c9490e6912ffcaeb12965fb3a567a10745ff +--- + giscanner/scannerlexer.l | 21 +++-- + 1 file changed, 15 insertions(+), 6 deletions(-) + +diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l +index 21ef570..bd546d5 100644 +--- a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l +@@ -59,6 +59,15 @@ static void process_linemarks (GISourceScanner *scanner, gboolean has_line); + static int check_identifier (GISourceScanner *scanner, const char *); + static int parse_ignored_macro (void); + static void print_error (GISourceScanner *scanner); ++ ++#if (YY_FLEX_MAJOR_VERSION > 2) \ ++ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION > 6)) \ ++ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION == 6) && (YY_FLEX_SUBMINOR_VERSION >= 1)) ++#define IS_EOF 0 ++#else ++#define IS_EOF EOF ++#endif ++ + %} + + %option nounput +@@ -270,7 +279,7 @@ parse_comment (GISourceScanner *scanner) + c1 = input(); + c2 = input(); + +- if (c2 != EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { ++ if (c2 != IS_EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { + /* + * Store GTK-Doc comment blocks, + * starts with one '/' followed by exactly two '*' and not followed by a '/' +@@ -283,7 +292,7 @@ parse_comment (GISourceScanner *scanner) + + comment_lineno = lineno; + +-while (c2 != EOF && !(c1 == '*' && c2 == '/')) ++while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) + { + if (!skip) + g_string_append_c (string, c1); +@@ -311,7 +320,7 @@ parse_comment (GISourceScanner *scanner) + /* + * Ignore all other comment blocks + */ +-while (c2 != EOF && !(c1 == '*' && c2 == '/')) ++while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) + { + if (c1 == '\n') + lineno++; +@@ -436,19 +445,19 @@ parse_ignored_macro (void) + int c; + int nest; + +- while ((c = input ()) != EOF && isspace (c)) ++ while ((c = input ()) != IS_EOF && isspace (c)) + ; + if (c != '(') + return FALSE; + + nest = 0; +- while ((c = input ()) != EOF && (nest > 0 || c != ')')) { ++ while ((c = input ()) != IS_EOF && (nest > 0 || c != ')')) { + if (c == '(') + nest++; + else if (c == ')') + nest--; + else if (c == '"') { +- while ((c = input ()) != EOF && c != '"') { ++ while ((c = input ()) != IS_EOF && c != '"') { + if (c == '\\') + c = input (); + } +-- +
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Wednesday, March 29, 2017 @ 19:34:02 Author: heftig Revision: 291805 archrelease: copy trunk to gnome-unstable-x86_64, gnome-unstable-i686 Added: gobject-introspection/repos/gnome-unstable-i686/ gobject-introspection/repos/gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 291804, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) gobject-introspection/repos/gnome-unstable-i686/PKGBUILD (from rev 291804, gobject-introspection/trunk/PKGBUILD) gobject-introspection/repos/gnome-unstable-x86_64/ gobject-introspection/repos/gnome-unstable-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 291804, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD (from rev 291804, gobject-introspection/trunk/PKGBUILD) --+ gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 ++ gnome-unstable-i686/PKGBUILD | 52 + gnome-unstable-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 ++ gnome-unstable-x86_64/PKGBUILD | 52 + 4 files changed, 278 insertions(+) Copied: gobject-introspection/repos/gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 291804, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) === --- gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (rev 0) +++ gnome-unstable-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch 2017-03-29 19:34:02 UTC (rev 291805) @@ -0,0 +1,87 @@ +From 740f5325360e5219b5129401fda90dd34d6cf47c Mon Sep 17 00:00:00 2001 +From: Jan de Groot +Date: Thu, 20 Oct 2016 12:14:19 + +Subject: [PATCH] giscanner: fix EOF check with flex >= 2.6.1 + +It looks like flex 2.6.1 changed [1] the return code for EOF in +yyinput. Therefore, use the right value depending on the version of +flex which generates the lexer. + +[1] https://github.com/westes/flex/commit/f863c9490e6912ffcaeb12965fb3a567a10745ff +--- + giscanner/scannerlexer.l | 21 +++-- + 1 file changed, 15 insertions(+), 6 deletions(-) + +diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l +index 21ef570..bd546d5 100644 +--- a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l +@@ -59,6 +59,15 @@ static void process_linemarks (GISourceScanner *scanner, gboolean has_line); + static int check_identifier (GISourceScanner *scanner, const char *); + static int parse_ignored_macro (void); + static void print_error (GISourceScanner *scanner); ++ ++#if (YY_FLEX_MAJOR_VERSION > 2) \ ++ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION > 6)) \ ++ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION == 6) && (YY_FLEX_SUBMINOR_VERSION >= 1)) ++#define IS_EOF 0 ++#else ++#define IS_EOF EOF ++#endif ++ + %} + + %option nounput +@@ -270,7 +279,7 @@ parse_comment (GISourceScanner *scanner) + c1 = input(); + c2 = input(); + +- if (c2 != EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { ++ if (c2 != IS_EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { + /* + * Store GTK-Doc comment blocks, + * starts with one '/' followed by exactly two '*' and not followed by a '/' +@@ -283,7 +292,7 @@ parse_comment (GISourceScanner *scanner) + + comment_lineno = lineno; + +-while (c2 != EOF && !(c1 == '*' && c2 == '/')) ++while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) + { + if (!skip) + g_string_append_c (string, c1); +@@ -311,7 +320,7 @@ parse_comment (GISourceScanner *scanner) + /* + * Ignore all other comment blocks + */ +-while (c2 != EOF && !(c1 == '*' && c2 == '/')) ++while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) + { + if (c1 == '\n') + lineno++; +@@ -436,19 +445,19 @@ parse_ignored_macro (void) + int c; + int nest; + +- while ((c = input ()) != EOF && isspace (c)) ++ while ((c = input ()) != IS_EOF && isspace (c)) + ; + if (c != '(') + return FALSE; + + nest = 0; +- while ((c = input ()) != EOF && (nest > 0 || c != ')')) { ++ while ((c = input ()) != IS_EOF && (nest > 0 || c != ')')) { + if (c == '(') + nest++; + else if (c == ')') + nest--; + else if (c == '"') { +- while ((c = input ()) != EOF && c != '"') { ++ while ((c = input ()) != IS_EOF && c != '"') { + if (c == '\\') + c = input (); + } +-- +2
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Thursday, October 20, 2016 @ 12:26:20 Author: jgc Revision: 279042 archrelease: copy trunk to extra-x86_64, extra-i686 Added: gobject-introspection/repos/extra-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 279041, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) gobject-introspection/repos/extra-i686/PKGBUILD (from rev 279041, gobject-introspection/trunk/PKGBUILD) gobject-introspection/repos/extra-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 279041, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) gobject-introspection/repos/extra-x86_64/PKGBUILD (from rev 279041, gobject-introspection/trunk/PKGBUILD) Deleted: gobject-introspection/repos/extra-i686/PKGBUILD gobject-introspection/repos/extra-x86_64/PKGBUILD -+ /PKGBUILD | 104 ++ extra-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 extra-i686/PKGBUILD | 49 extra-x86_64/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch | 87 extra-x86_64/PKGBUILD | 49 5 files changed, 278 insertions(+), 98 deletions(-) Copied: gobject-introspection/repos/extra-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (from rev 279041, gobject-introspection/trunk/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch) === --- extra-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch (rev 0) +++ extra-i686/0001-giscanner-fix-EOF-check-with-flex-2.6.1.patch 2016-10-20 12:26:20 UTC (rev 279042) @@ -0,0 +1,87 @@ +From 740f5325360e5219b5129401fda90dd34d6cf47c Mon Sep 17 00:00:00 2001 +From: Jan de Groot +Date: Thu, 20 Oct 2016 12:14:19 + +Subject: [PATCH] giscanner: fix EOF check with flex >= 2.6.1 + +It looks like flex 2.6.1 changed [1] the return code for EOF in +yyinput. Therefore, use the right value depending on the version of +flex which generates the lexer. + +[1] https://github.com/westes/flex/commit/f863c9490e6912ffcaeb12965fb3a567a10745ff +--- + giscanner/scannerlexer.l | 21 +++-- + 1 file changed, 15 insertions(+), 6 deletions(-) + +diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l +index 21ef570..bd546d5 100644 +--- a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l +@@ -59,6 +59,15 @@ static void process_linemarks (GISourceScanner *scanner, gboolean has_line); + static int check_identifier (GISourceScanner *scanner, const char *); + static int parse_ignored_macro (void); + static void print_error (GISourceScanner *scanner); ++ ++#if (YY_FLEX_MAJOR_VERSION > 2) \ ++ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION > 6)) \ ++ || ((YY_FLEX_MAJOR_VERSION == 2) && (YY_FLEX_MINOR_VERSION == 6) && (YY_FLEX_SUBMINOR_VERSION >= 1)) ++#define IS_EOF 0 ++#else ++#define IS_EOF EOF ++#endif ++ + %} + + %option nounput +@@ -270,7 +279,7 @@ parse_comment (GISourceScanner *scanner) + c1 = input(); + c2 = input(); + +- if (c2 != EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { ++ if (c2 != IS_EOF && (c1 == '*' && c2 != '*' && c2 != '/')) { + /* + * Store GTK-Doc comment blocks, + * starts with one '/' followed by exactly two '*' and not followed by a '/' +@@ -283,7 +292,7 @@ parse_comment (GISourceScanner *scanner) + + comment_lineno = lineno; + +-while (c2 != EOF && !(c1 == '*' && c2 == '/')) ++while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) + { + if (!skip) + g_string_append_c (string, c1); +@@ -311,7 +320,7 @@ parse_comment (GISourceScanner *scanner) + /* + * Ignore all other comment blocks + */ +-while (c2 != EOF && !(c1 == '*' && c2 == '/')) ++while (c2 != IS_EOF && !(c1 == '*' && c2 == '/')) + { + if (c1 == '\n') + lineno++; +@@ -436,19 +445,19 @@ parse_ignored_macro (void) + int c; + int nest; + +- while ((c = input ()) != EOF && isspace (c)) ++ while ((c = input ()) != IS_EOF && isspace (c)) + ; + if (c != '(') + return FALSE; + + nest = 0; +- while ((c = input ()) != EOF && (nest > 0 || c != ')')) { ++ while ((c = input ()) != IS_EOF && (nest > 0 || c != ')')) { + if (c == '(') + nest++; + else if (c == ')') + nest--; + else if (c == '"') { +- while ((c = input ()) != EOF && c != '"') { ++ while ((c = input ()) != IS_EOF && c != '"') { + if (c == '\\') + c = input (); + } +-- +2.10.0 + Deleted: extra-i686
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Wednesday, March 25, 2015 @ 16:35:25 Author: jgc Revision: 234833 db-move: moved gobject-introspection from [gnome-unstable] to [testing] (i686, x86_64) Added: gobject-introspection/repos/testing-i686/ gobject-introspection/repos/testing-i686/PKGBUILD (from rev 234786, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD) gobject-introspection/repos/testing-x86_64/ gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 234786, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD) Deleted: gobject-introspection/repos/gnome-unstable-i686/ gobject-introspection/repos/gnome-unstable-x86_64/ -+ testing-i686/PKGBUILD | 41 + testing-x86_64/PKGBUILD | 41 + 2 files changed, 82 insertions(+) Copied: gobject-introspection/repos/testing-i686/PKGBUILD (from rev 234786, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-03-25 15:35:25 UTC (rev 234833) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgbase=gobject-introspection +pkgname=('gobject-introspection' 'gobject-introspection-runtime') +pkgver=1.44.0 +pkgrel=1 +url="https://live.gnome.org/GObjectIntrospection"; +arch=('x86_64' 'i686') +license=('LGPL' 'GPL') +makedepends=('cairo' 'python2' 'python2-mako') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz) +sha256sums=('6f0c2c28aeaa37b5037acbf21558098c4f95029b666db755d3a12c2f1e1627ad') + +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 + make +} + +package_gobject-introspection-runtime() { + pkgdesc="Introspection system for GObject-based libraries - runtime files" + depends=('glib2') + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA +} + +package_gobject-introspection() { + pkgdesc="Introspection system for GObject-based libraries" + depends=("gobject-introspection-runtime=$pkgver" 'python2-mako' 'python2') + options=('!emptydirs') + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA +} Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 234786, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-03-25 15:35:25 UTC (rev 234833) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgbase=gobject-introspection +pkgname=('gobject-introspection' 'gobject-introspection-runtime') +pkgver=1.44.0 +pkgrel=1 +url="https://live.gnome.org/GObjectIntrospection"; +arch=('x86_64' 'i686') +license=('LGPL' 'GPL') +makedepends=('cairo' 'python2' 'python2-mako') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz) +sha256sums=('6f0c2c28aeaa37b5037acbf21558098c4f95029b666db755d3a12c2f1e1627ad') + +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 + make +} + +package_gobject-introspection-runtime() { + pkgdesc="Introspection system for GObject-based libraries - runtime files" + depends=('glib2') + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA +} + +package_gobject-introspection() { + pkgdesc="Introspection system for GObject-based libraries" + depends=("gobject-introspection-runtime=$pkgver" 'python2-mako' 'python2') + options=('!emptydirs') + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA +}
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Friday, September 26, 2014 @ 12:54:53 Author: jgc Revision: 223087 db-move: moved gobject-introspection from [gnome-unstable] to [testing] (i686, x86_64) Added: gobject-introspection/repos/testing-i686/ gobject-introspection/repos/testing-i686/PKGBUILD (from rev 223030, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD) gobject-introspection/repos/testing-x86_64/ gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 223030, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD) Deleted: gobject-introspection/repos/gnome-unstable-i686/ gobject-introspection/repos/gnome-unstable-x86_64/ -+ testing-i686/PKGBUILD | 32 testing-x86_64/PKGBUILD | 32 2 files changed, 64 insertions(+) Copied: gobject-introspection/repos/testing-i686/PKGBUILD (from rev 223030, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-09-26 10:54:53 UTC (rev 223087) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Jan de Groot + +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 +} Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 223030, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-09-26 10:54:53 UTC (rev 223087) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Jan de Groot + +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 +}
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Monday, April 22, 2013 @ 00:10:45 Author: heftig Revision: 183411 db-move: moved gobject-introspection from [testing] to [extra] (i686, x86_64) Added: gobject-introspection/repos/extra-i686/PKGBUILD (from rev 183326, gobject-introspection/repos/testing-i686/PKGBUILD) gobject-introspection/repos/extra-x86_64/PKGBUILD (from rev 183326, gobject-introspection/repos/testing-x86_64/PKGBUILD) Deleted: gobject-introspection/repos/extra-i686/PKGBUILD gobject-introspection/repos/extra-x86_64/PKGBUILD gobject-introspection/repos/testing-i686/ gobject-introspection/repos/testing-x86_64/ ---+ /PKGBUILD | 58 extra-i686/PKGBUILD | 29 extra-x86_64/PKGBUILD | 29 3 files changed, 58 insertions(+), 58 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2013-04-21 22:10:43 UTC (rev 183410) +++ extra-i686/PKGBUILD 2013-04-21 22:10:45 UTC (rev 183411) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot - -pkgname=gobject-introspection -pkgver=1.34.2 -pkgrel=1 -pkgdesc="Introspection system for GObject-based libraries" -url="https://live.gnome.org/GObjectIntrospection"; -arch=('x86_64' 'i686') -license=('LGPL' 'GPL') -depends=('glib2' 'python2' 'python2-mako') -makedepends=('cairo') -options=('!libtool') -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) -sha256sums=('bc7948a35ce2218922dfb0806679cad21060715cc0c340cf7823eb633cc03429') - -build() { - cd "$pkgname-$pkgver" - PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool - make -} - -package() { - cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - sed -i '1s|#!/usr/bin/env python$|&2|' \ -"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py -} Copied: gobject-introspection/repos/extra-i686/PKGBUILD (from rev 183326, gobject-introspection/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2013-04-21 22:10:45 UTC (rev 183411) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.36.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' 'python2' 'python2-mako') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('e3e76d9d428e7534761bf8cdf75338865a4b0872e8052bef51792744608b6383') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i '1s|#!/usr/bin/env python$|&2|' \ +"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2013-04-21 22:10:43 UTC (rev 183410) +++ extra-x86_64/PKGBUILD 2013-04-21 22:10:45 UTC (rev 183411) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot - -pkgname=gobject-introspection -pkgver=1.34.2 -pkgrel=1 -pkgdesc="Introspection system for GObject-based libraries" -url="https://live.gnome.org/GObjectIntrospection"; -arch=('x86_64' 'i686') -license=('LGPL' 'GPL') -depends=('glib2' 'python2' 'python2-mako') -makedepends=('cairo') -options=('!libtool') -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) -sha256sums=('bc7948a35ce2218922dfb0806679cad21060715cc0c340cf7823eb633cc03429') - -build() { - cd "$pkgname-$pkgver" - PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool - make -} - -package() { - cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - sed -i '1s|#!/usr/bin/env python$|&2|' \ -"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py -} Copied: gobject-introspection/repos/extra-x86_64/PKGBUILD (from rev 183326, gobject-introspection/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2013-04-21 22:10:45 UTC (rev 183411) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.36.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' 'python2' 'python2-mako') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pk
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Wednesday, April 10, 2013 @ 21:13:23 Author: heftig Revision: 182529 db-move: moved gobject-introspection from [staging] to [testing] (i686, x86_64) Added: gobject-introspection/repos/testing-i686/ gobject-introspection/repos/testing-i686/PKGBUILD (from rev 182430, gobject-introspection/repos/staging-i686/PKGBUILD) gobject-introspection/repos/testing-x86_64/ gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 182430, gobject-introspection/repos/staging-x86_64/PKGBUILD) Deleted: gobject-introspection/repos/staging-i686/ gobject-introspection/repos/staging-x86_64/ -+ testing-i686/PKGBUILD | 29 + testing-x86_64/PKGBUILD | 29 + 2 files changed, 58 insertions(+) Copied: gobject-introspection/repos/testing-i686/PKGBUILD (from rev 182430, gobject-introspection/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-04-10 19:13:23 UTC (rev 182529) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.36.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' 'python2' 'python2-mako') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('e3e76d9d428e7534761bf8cdf75338865a4b0872e8052bef51792744608b6383') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i '1s|#!/usr/bin/env python$|&2|' \ +"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py +} Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 182430, gobject-introspection/repos/staging-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-04-10 19:13:23 UTC (rev 182529) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.36.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' 'python2' 'python2-mako') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('e3e76d9d428e7534761bf8cdf75338865a4b0872e8052bef51792744608b6383') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i '1s|#!/usr/bin/env python$|&2|' \ +"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py +}
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Tuesday, October 30, 2012 @ 18:45:08 Author: heftig Revision: 169923 db-move: moved gobject-introspection from [testing] to [extra] (i686, x86_64) Added: gobject-introspection/repos/extra-i686/PKGBUILD (from rev 169922, gobject-introspection/repos/testing-i686/PKGBUILD) gobject-introspection/repos/extra-x86_64/PKGBUILD (from rev 169922, gobject-introspection/repos/testing-x86_64/PKGBUILD) Deleted: gobject-introspection/repos/extra-i686/PKGBUILD gobject-introspection/repos/extra-x86_64/PKGBUILD gobject-introspection/repos/testing-i686/ gobject-introspection/repos/testing-x86_64/ ---+ extra-i686/PKGBUILD | 58 extra-x86_64/PKGBUILD | 58 2 files changed, 58 insertions(+), 58 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-10-30 22:38:41 UTC (rev 169922) +++ extra-i686/PKGBUILD 2012-10-30 22:45:08 UTC (rev 169923) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot - -pkgname=gobject-introspection -pkgver=1.32.1 -pkgrel=2 -pkgdesc="Introspection system for GObject-based libraries" -url="http://live.gnome.org/GObjectInstrospection"; -arch=('x86_64' 'i686') -license=('LGPL' 'GPL') -depends=('glib2' 'python2') -makedepends=('cairo') -options=('!libtool') -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858') - -build() { - cd "$pkgname-$pkgver" - PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static - make -} - -package() { - cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - sed -i '1s|#!/usr/bin/env python$|&2|' \ -"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py -} Copied: gobject-introspection/repos/extra-i686/PKGBUILD (from rev 169922, gobject-introspection/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-10-30 22:45:08 UTC (rev 169923) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.34.1.1 +pkgrel=1 +pkgdesc="Introspection system for GObject-based libraries" +url="https://live.gnome.org/GObjectIntrospection"; +arch=('x86_64' 'i686') +license=('LGPL' 'GPL') +depends=('glib2' 'python2') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i '1s|#!/usr/bin/env python$|&2|' \ +"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-10-30 22:38:41 UTC (rev 169922) +++ extra-x86_64/PKGBUILD 2012-10-30 22:45:08 UTC (rev 169923) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot - -pkgname=gobject-introspection -pkgver=1.32.1 -pkgrel=2 -pkgdesc="Introspection system for GObject-based libraries" -url="http://live.gnome.org/GObjectInstrospection"; -arch=('x86_64' 'i686') -license=('LGPL' 'GPL') -depends=('glib2' 'python2') -makedepends=('cairo') -options=('!libtool') -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858') - -build() { - cd "$pkgname-$pkgver" - PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static - make -} - -package() { - cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - sed -i '1s|#!/usr/bin/env python$|&2|' \ -"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py -} Copied: gobject-introspection/repos/extra-x86_64/PKGBUILD (from rev 169922, gobject-introspection/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2012-10-30 22:45:08 UTC (rev 169923) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.34.1.1 +pkgrel=1 +pkgdesc="Introspection system for GObject-based libraries" +url="https://live.gnome.org/GObjectIntrospection"; +arch=('x86_64' 'i686') +license=('LGPL' 'GPL') +depends=('glib2' 'python2') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b') + +build() { + cd "$pkgname-$pkgver" + PYT
[arch-commits] Commit in gobject-introspection/repos (6 files)
Date: Thursday, October 18, 2012 @ 15:25:25 Author: jgc Revision: 169206 db-move: moved gobject-introspection from [gnome-unstable] to [testing] (i686, x86_64) Added: gobject-introspection/repos/testing-i686/ gobject-introspection/repos/testing-i686/PKGBUILD (from rev 169138, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD) gobject-introspection/repos/testing-x86_64/ gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 169138, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD) Deleted: gobject-introspection/repos/gnome-unstable-i686/ gobject-introspection/repos/gnome-unstable-x86_64/ -+ testing-i686/PKGBUILD | 29 + testing-x86_64/PKGBUILD | 29 + 2 files changed, 58 insertions(+) Copied: gobject-introspection/repos/testing-i686/PKGBUILD (from rev 169138, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-10-18 19:25:25 UTC (rev 169206) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.34.1.1 +pkgrel=1 +pkgdesc="Introspection system for GObject-based libraries" +url="https://live.gnome.org/GObjectIntrospection"; +arch=('x86_64' 'i686') +license=('LGPL' 'GPL') +depends=('glib2' 'python2') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i '1s|#!/usr/bin/env python$|&2|' \ +"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py +} Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 169138, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-10-18 19:25:25 UTC (rev 169206) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Jan de Groot + +pkgname=gobject-introspection +pkgver=1.34.1.1 +pkgrel=1 +pkgdesc="Introspection system for GObject-based libraries" +url="https://live.gnome.org/GObjectIntrospection"; +arch=('x86_64' 'i686') +license=('LGPL' 'GPL') +depends=('glib2' 'python2') +makedepends=('cairo') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) +sha256sums=('85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b') + +build() { + cd "$pkgname-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i '1s|#!/usr/bin/env python$|&2|' \ +"$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py +}