diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-03 16:47:08 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-03 16:47:08 -0300 |
commit | a420f5c4c2a4eeb411175d086b339b620dba309d (patch) | |
tree | aa810cc98c17cf30cad06226c22f8256c056430e /testing/perl-sdl/PKGBUILD | |
parent | 0ec0464a32563349252dda85e9176a9475d6fc34 (diff) | |
parent | 81de702a6fc79e430129a7d2b708d90f43ae5ba1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/vdrift/PKGBUILD
community-testing/widelands/PKGBUILD
core/cracklib/PKGBUILD
core/systemd/PKGBUILD
extra/imagemagick/PKGBUILD
extra/mesa/PKGBUILD
multilib/lib32-glibc/PKGBUILD
testing/libreoffice/PKGBUILD
testing/mpfr/PKGBUILD
testing/systemd/PKGBUILD
testing/sysvinit/PKGBUILD
testing/yp-tools/PKGBUILD
Diffstat (limited to 'testing/perl-sdl/PKGBUILD')
-rw-r--r-- | testing/perl-sdl/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-sdl/PKGBUILD b/testing/perl-sdl/PKGBUILD new file mode 100644 index 000000000..682be8a60 --- /dev/null +++ b/testing/perl-sdl/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 165797 2012-08-30 16:55:08Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> + +pkgname=perl-sdl +pkgver=2.540 +pkgrel=2 +pkgdesc="Simple DirectMedia Layer for Perl" +arch=(i686 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 mesa 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=JTPALMER +source=(http://search.cpan.org/CPAN/authors/id/${_author::1}/${_author::2}/$_author/SDL-$pkgver.tar.gz) +md5sums=('1a5d7849cbdfde4982b28458e38ab172') + +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" +} |