[arch-commits] Commit in perl-cairo-gobject/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:44:51 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:44:50
Author: foutrelis
Revision: 366436
archrelease: copy trunk to community-staging-x86_64
Added:
perl-cairo-gobject/repos/community-staging-x86_64/
perl-cairo-gobject/repos/community-staging-x86_64/PKGBUILD
(from rev 366435, perl-cairo-gobject/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-cairo-gobject/repos/community-staging-x86_64/PKGBUILD (from rev 366435, perl-cairo-gobject/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 09:44:50 UTC (rev 366436)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-cairo-gobject
+_perl_module=Cairo-GObject
+pkgver=1.004
+pkgrel=7
+pkgdesc="Integrate Cairo into the Glib type system"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_module}"
+license=('LGPL')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+depends=('glib-perl' 'cairo-perl')
+source=("https://cpan.metacpan.org/authors/id/X/XA/XAOC/${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('3bb9d40e802e51f56f1364abc553758152131803c12d85ba6e14bad6813409d5')
+options=('!emptydirs')
+
+build() {
+ cd "${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}
More information about the arch-commits
mailing list