[arch-commits] Commit in gtk2-perl/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:33:28 UTC 2021


    Date: Monday, May 24, 2021 @ 11:33:27
  Author: foutrelis
Revision: 416230

archrelease: copy trunk to staging-x86_64

Added:
  gtk2-perl/repos/staging-x86_64/
  gtk2-perl/repos/staging-x86_64/PKGBUILD
    (from rev 416229, gtk2-perl/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: gtk2-perl/repos/staging-x86_64/PKGBUILD (from rev 416229, gtk2-perl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-05-24 11:33:27 UTC (rev 416230)
@@ -0,0 +1,39 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=gtk2-perl
+pkgver=1.24993
+pkgrel=3
+pkgdesc="Perl bindings for GTK+ 2.x"
+arch=(x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('gtk2' 'pango-perl')
+checkdepends=('ttf-dejavu' 'xorg-server-xvfb')
+options=('!emptydirs')
+source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-${pkgver}.tar.gz)
+sha512sums=('320b10803394b196e0833ab998b854c7e184d6f291657c732a1fddb0c049d01ef192c73e6a095a87b18ff8cb9ac846fcb3682a2dd0c9c86076342e3ca7e55eb5')
+
+prepare() {
+  cd Gtk2-$pkgver
+  # Disable failing test. Doesn't work for several versions, might be related to Xvfb too
+  #sed -e 's/gnome-foot.png/gnome-foot2.png/' -i t/GdkPixbufLoader.t
+}
+
+build() {
+  cd Gtk2-$pkgver
+  export PERL_USE_UNSAFE_INC=1
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+#check() {
+#  cd Gtk2-$pkgver
+#  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+#}
+
+package() {
+  cd Gtk2-$pkgver
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list