blob: c54dd7172faa2e12542fa09fa9b8f06087d36ad9 (
plain) (
tree)
|
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-x11-xcb
_pkgreal=X11-XCB
_author=ZHMYLOVE
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.20
pkgrel=0
pkgdesc="Perl bindings for libxcb"
url="https://metacpan.org/pod/X11::XCB"
arch="all"
options="!check" # Tests require a running X server
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-extutils-pkgconfig perl-extutils-depends
perl-xs-object-magic perl-data-dump perl-xml-simple
perl-xml-descent perl-mouse perl-mousex-nativetraits"
checkdepends="perl-test-deep perl-test-exception"
makedepends="perl-dev perl-xs-object-magic-dev libxcb-dev
xcb-util-dev xcb-util-wm-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make -j1
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="4dcb0b0c85ee66dc2c2d9c04888446b7e480c4c209430d41914343dc7552e93ea8cbff73f98e245f95ef550c99c8104f3bbe2a9cbd905b3a203eb048ab469fd9 X11-XCB-0.20.tar.gz"
|