[arch-commits] Commit in perl-gtk2-unique/repos (6 files)

Felix Yan fyan at archlinux.org
Wed Jul 23 09:36:32 UTC 2014


    Date: Wednesday, July 23, 2014 @ 11:36:32
  Author: fyan
Revision: 116149

archrelease: copy trunk to community-i686, community-x86_64

Added:
  perl-gtk2-unique/repos/community-i686/
  perl-gtk2-unique/repos/community-i686/PKGBUILD
    (from rev 116148, perl-gtk2-unique/trunk/PKGBUILD)
  perl-gtk2-unique/repos/community-i686/perl-gtk2-unique.patch
    (from rev 116148, perl-gtk2-unique/trunk/perl-gtk2-unique.patch)
  perl-gtk2-unique/repos/community-x86_64/
  perl-gtk2-unique/repos/community-x86_64/PKGBUILD
    (from rev 116148, perl-gtk2-unique/trunk/PKGBUILD)
  perl-gtk2-unique/repos/community-x86_64/perl-gtk2-unique.patch
    (from rev 116148, perl-gtk2-unique/trunk/perl-gtk2-unique.patch)

-----------------------------------------+
 community-i686/PKGBUILD                 |   38 ++++++++++++++++++++++++++++++
 community-i686/perl-gtk2-unique.patch   |   12 +++++++++
 community-x86_64/PKGBUILD               |   38 ++++++++++++++++++++++++++++++
 community-x86_64/perl-gtk2-unique.patch |   12 +++++++++
 4 files changed, 100 insertions(+)

Copied: perl-gtk2-unique/repos/community-i686/PKGBUILD (from rev 116148, perl-gtk2-unique/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-07-23 09:36:32 UTC (rev 116149)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=perl-gtk2-unique
+_realname=Gtk2-Unique
+pkgver=0.05
+pkgrel=10
+pkgdesc="Perl bindings for the C library libunique"
+arch=('i686' 'x86_64')
+url="https://metacpan.org/release/${_realname}"
+license=('LGPL' 'PerlArtistic')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+depends=('gtk2-perl' 'libunique')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/${_realname}-${pkgver}.tar.gz"
+        "$pkgname.patch")
+md5sums=('0beb552933b765a017588563a71af123'
+         'f8e15e1b93e2629e1745f8e4de8524ff')
+
+build() {
+  cd "$srcdir/$_realname-$pkgver"
+  patch -Np1 -i "$srcdir/$pkgname.patch"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_realname-$pkgver"
+  make test
+}
+
+package() {
+  cd  "$srcdir/$_realname-$pkgver"
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}

Copied: perl-gtk2-unique/repos/community-i686/perl-gtk2-unique.patch (from rev 116148, perl-gtk2-unique/trunk/perl-gtk2-unique.patch)
===================================================================
--- community-i686/perl-gtk2-unique.patch	                        (rev 0)
+++ community-i686/perl-gtk2-unique.patch	2014-07-23 09:36:32 UTC (rev 116149)
@@ -0,0 +1,12 @@
+diff -up Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig Gtk2-Unique-0.05/xs/UniqueMessageData.xs
+--- Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig	2010-05-05 09:47:45.000000000 -0600
++++ Gtk2-Unique-0.05/xs/UniqueMessageData.xs	2013-06-18 11:54:05.000000000 -0600
+@@ -38,7 +38,7 @@ SV*
+ unique_message_data_get (UniqueMessageData *message_data)
+ 	PREINIT:
+ 		const guchar *string = NULL;
+-		gint length = 0;
++		gsize length = 0;
+ 		
+ 	CODE:
+ 		string = unique_message_data_get(message_data, &length);

Copied: perl-gtk2-unique/repos/community-x86_64/PKGBUILD (from rev 116148, perl-gtk2-unique/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-07-23 09:36:32 UTC (rev 116149)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=perl-gtk2-unique
+_realname=Gtk2-Unique
+pkgver=0.05
+pkgrel=10
+pkgdesc="Perl bindings for the C library libunique"
+arch=('i686' 'x86_64')
+url="https://metacpan.org/release/${_realname}"
+license=('LGPL' 'PerlArtistic')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+depends=('gtk2-perl' 'libunique')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/${_realname}-${pkgver}.tar.gz"
+        "$pkgname.patch")
+md5sums=('0beb552933b765a017588563a71af123'
+         'f8e15e1b93e2629e1745f8e4de8524ff')
+
+build() {
+  cd "$srcdir/$_realname-$pkgver"
+  patch -Np1 -i "$srcdir/$pkgname.patch"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_realname-$pkgver"
+  make test
+}
+
+package() {
+  cd  "$srcdir/$_realname-$pkgver"
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}

Copied: perl-gtk2-unique/repos/community-x86_64/perl-gtk2-unique.patch (from rev 116148, perl-gtk2-unique/trunk/perl-gtk2-unique.patch)
===================================================================
--- community-x86_64/perl-gtk2-unique.patch	                        (rev 0)
+++ community-x86_64/perl-gtk2-unique.patch	2014-07-23 09:36:32 UTC (rev 116149)
@@ -0,0 +1,12 @@
+diff -up Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig Gtk2-Unique-0.05/xs/UniqueMessageData.xs
+--- Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig	2010-05-05 09:47:45.000000000 -0600
++++ Gtk2-Unique-0.05/xs/UniqueMessageData.xs	2013-06-18 11:54:05.000000000 -0600
+@@ -38,7 +38,7 @@ SV*
+ unique_message_data_get (UniqueMessageData *message_data)
+ 	PREINIT:
+ 		const guchar *string = NULL;
+-		gint length = 0;
++		gsize length = 0;
+ 		
+ 	CODE:
+ 		string = unique_message_data_get(message_data, &length);




More information about the arch-commits mailing list