aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-12-19 10:14:15 +0000
committerMilan P. Stanić <mps@arvanta.net>2020-12-19 10:27:56 +0000
commitc77a56d6244c77c9640262fb1c3498bb973f60a5 (patch)
treed936884096ac8d52936a849320a604c3bbc46a0d
parent4e2a20b58fa1f3539589d414dfc430dad1f8ba41 (diff)
downloadaports-c77a56d6244c77c9640262fb1c3498bb973f60a5.tar.gz
aports-c77a56d6244c77c9640262fb1c3498bb973f60a5.tar.bz2
aports-c77a56d6244c77c9640262fb1c3498bb973f60a5.tar.xz
testing/perl-cairo-gobject: new aport
https://metacpan.org/release/Cairo-GObject/ Integrate Cairo into the Glib type system
-rw-r--r--testing/perl-cairo-gobject/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-cairo-gobject/APKBUILD b/testing/perl-cairo-gobject/APKBUILD
new file mode 100644
index 0000000000..fdcbd3cbf1
--- /dev/null
+++ b/testing/perl-cairo-gobject/APKBUILD
@@ -0,0 +1,36 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Milan P. Stanić <mps@arvanta.net>
+# Maintainer: Milan P. Stanić <mps@arvanta.net>
+pkgname=perl-cairo-gobject
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Cairo-GObject
+pkgver=1.005
+pkgrel=0
+pkgdesc="Integrate Cairo into the Glib type system"
+url="https://metacpan.org/release/Cairo-GObject/"
+arch="all"
+license="GPL-2.0-or-later"
+depends="perl perl-cairo perl-extutils-depends perl-extutils-pkgconfig perl-glib"
+makedepends="perl-dev perl-cairo perl-extutils-pkgconfig perl-glib perl-extutils-depends
+ cairo-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Cairo-GObject-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="45f1e3ff6f8a90347175c66e5a854acd22285cd48a9aa07344c046add283892d6188e88f69d64798dc5323cb17aa442853915ed2081b5ec4e2a735b89cd11b1e Cairo-GObject-1.005.tar.gz"