summaryrefslogtreecommitdiff
path: root/user/perl-x11-xcb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-x11-xcb/APKBUILD')
-rw-r--r--user/perl-x11-xcb/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/perl-x11-xcb/APKBUILD b/user/perl-x11-xcb/APKBUILD
new file mode 100644
index 000000000..b28a86211
--- /dev/null
+++ b/user/perl-x11-xcb/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-x11-xcb
+pkgver=0.17
+pkgrel=0
+pkgdesc="Perl bindings for libxcb"
+url="https://metacpan.org/pod/X11::XCB"
+arch="all"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl perl-extutils-pkgconfig perl-extutils-depends perl-xs-object-magic
+ perl-xs-object-magic-dev perl-data-dump perl-xml-simple perl-xml-descent
+ perl-mouse perl-mousex-nativetraits"
+makedepends="perl-dev"
+checkdepends="perl-test-deep perl-test-exception"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/M/MS/MSTPLBG/X11-XCB-$pkgver.tar.gz"
+builddir="$srcdir/X11-XCB-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make -j1
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="8a5457afdb3b32fd6d425a27dee1a6afbbded222cf71a9d7201ed2c0db0b0b7c803ae3e69a897c510b9b07b79e880efe0cf062ea025d2d3ff7ee16d364c568bc X11-XCB-0.17.tar.gz"