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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 11:20:59 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:20:59
  Author: foutrelis
Revision: 330197

archrelease: copy trunk to staging-x86_64

Added:
  perl-sdl/repos/staging-x86_64/
  perl-sdl/repos/staging-x86_64/PKGBUILD
    (from rev 330196, perl-sdl/trunk/PKGBUILD)

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

Copied: perl-sdl/repos/staging-x86_64/PKGBUILD (from rev 330196, perl-sdl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-01 11:20:59 UTC (rev 330197)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
+
+pkgname=perl-sdl
+pkgver=2.546
+pkgrel=7
+pkgdesc="Simple DirectMedia Layer for Perl"
+arch=(x86_64)
+license=(LGPL)
+url="http://sdl.perl.org"
+depends=(perl-alien-sdl perl-tie-simple
+         sdl_net sdl_ttf sdl_image sdl_mixer sdl_gfx sdl_pango smpeg)
+makedepends=('perl-module-build>=0.40')
+options=('!emptydirs')
+replaces=(sdl_perl)
+conflicts=(sdl_perl)
+provides=("sdl_perl=$pkgver")
+# http://search.cpan.org/dist/SDL/
+_author=FROGGS
+source=(http://search.cpan.org/CPAN/authors/id/${_author::1}/${_author::2}/$_author/SDL-$pkgver.tar.gz)
+md5sums=('a93283d0fff67bdec5ff4bb8c1d30a09')
+
+build() {
+  cd SDL-$pkgver
+  # Perl selects the proper CFLAGS set for binary modules
+  unset CFLAGS
+  # install module in vendor directories
+  perl Build.PL installdirs=vendor
+  perl Build
+}
+
+check() {
+  cd SDL-$pkgver
+  perl Build test || true
+}
+
+package() {
+  cd SDL-$pkgver
+  perl Build install destdir="$pkgdir"
+}



More information about the arch-commits mailing list