summaryrefslogblamecommitdiff
path: root/user/perl-x11-xcb/APKBUILD
blob: 37c03c30928e4e4f701431e7318a54db2f866743 (plain) (tree)
1
2
3
4
5
6
7
8
                                       
                                                          
                    
                
                

                               
           



                                       
                                                    
                                       
                                                           

                                                             
                                                 
                                                         
                                     
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                  
# 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.22
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="ac38d98067e49f15ff7e8f3d902208af059ab2b2113f585044488a6eb8dac020a5010b876b41069397f1fdf30717df02752f648390d1923d38a0db4b703a4b35  X11-XCB-0.22.tar.gz"