[arch-commits] Commit in perl-cairo-gobject/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:55:43 UTC 2020
Date: Sunday, June 21, 2020 @ 10:55:42
Author: felixonmars
Revision: 649133
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 649131, perl-cairo-gobject/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: perl-cairo-gobject/repos/community-staging-x86_64/PKGBUILD (from rev 649131, perl-cairo-gobject/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-06-21 10:55:42 UTC (rev 649133)
@@ -0,0 +1,37 @@
+# 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=10
+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