diff options
author | Erich Eckner <git@eckner.net> | 2016-04-22 11:00:39 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-25 10:07:36 +0200 |
commit | a51189eb18b8190fb33c2f3bd5f217485feca96e (patch) | |
tree | d47a3b463fb31d56dda9efab363634b838c1ce57 /perl-wx | |
parent | aa2e95c25ee656800a31df90794a7bc1349c11c6 (diff) | |
download | archlinuxewe.git.save-a51189eb18b8190fb33c2f3bd5f217485feca96e.tar.xz |
perl-wx neu
Diffstat (limited to 'perl-wx')
-rw-r--r-- | perl-wx/PKGBUILD | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/perl-wx/PKGBUILD b/perl-wx/PKGBUILD new file mode 100644 index 00000000..ca859d9b --- /dev/null +++ b/perl-wx/PKGBUILD @@ -0,0 +1,115 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Piotr Rogoza <piotr dot r dot public at gmail dot com> + +pkgname=perl-wx +pkgver=0.9928 +_author=M/MD/MDOOTSON +_perlmod=Wx +pkgrel=3 +pkgdesc="Wx - interface to the wxWidgets GUI toolkit" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Wx" +license=('GPL' 'PerlArtistic') +depends=( +wxgtk +) +makedepends=( +perl-alien-wxwidgets +perl-extutils-xspp +xorg-server-xvfb +perl-clone +perl-dbi +perl-error +perl-file-which +perl-image-exiftool +perl-uri +perl-xml-libxml +perl-xml-namespacesupport +perl-xml-parser +perl-xml-sax +perl-xml-sax-base +webkitgtk2 +#ExtUtils::MakeMaker => perl +#ExtUtils::ParseXS => perl +#File::Spec::Functions => perl +#Test::More => perl +#Test::Harness => perl +) +provides=( +perl-wx-aui +perl-wx-app +perl-wx-artprovider +perl-wx-calendar +perl-wx-dnd +perl-wx-dataview +perl-wx-datetime +perl-wx-docview +perl-wx-dropsource +perl-wx-event +perl-wx-fs +perl-wx-grid +perl-wx-help +perl-wx-html +perl-wx-ipc +perl-wx-locale +perl-wx-mdi +perl-wx-media +perl-wx-menu +perl-wx-mini +perl-wx-overload-driver +perl-wx-overload-handle +perl-wx-perl-carp +perl-wx-perl-splashfast +perl-wx-perl-textvalidator +perl-wx-perltest +perl-wx-print +perl-wx-propertygrid +perl-wx-radiobox +perl-wx-ribbon +perl-wx-richtext +perl-wx-stc +perl-wx-socket +perl-wx-timer +perl-wx-webview +perl-wx-xrc +perl-wx-build-makemaker +perl-wx-build-makemaker-any_os +perl-wx-build-makemaker-any_wx_config +perl-wx-build-makemaker-core +perl-wx-build-makemaker-hacks +perl-wx-build-makemaker-macosx_gcc +perl-wx-build-makemaker-win32 +perl-wx-build-makemaker-win32_msvc +perl-wx-build-makemaker-win32_mingw +perl-wx-build-options +perl-wx-build-utils +perl-build-wx-xsp-enum +perl-build-wx-xsp-event +perl-build-wx-xsp-overload +perl-build-wx-xsp-virtual +) +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz") +sha256sums=('58e06c094c07817617b1e69fa0501f2cee80cd4700ac7a62c516179f7aa85b42') + +build(){ + cd "$srcdir"/$_perlmod-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +} +check(){ + cd "$srcdir"/$_perlmod-$pkgver + if [[ -z "$DISPLAY" || -x /usr/bin/xvfb-run ]]; then +# warning 'Empty $DISPLAY - falling back to xvfb-run (xorg-server-xvfb)' + xvfb-run -a -s "+extension GLX -screen 0 1280x1024x24" make test + else + make test + fi +} +package(){ + cd "$srcdir"/$_perlmod-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} |