archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-ffi-checklib / trunk / PKGBUILD
blobd7ab7d406c272ea581aa783f1d808bf835eae31d
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-ffi-checklib
4 pkgver=0.28
5 pkgrel=2
6 pkgdesc="Check that a library is available for FFI"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/FFI-CheckLib"
10 depends=('perl')
11 checkdepends=('perl-test-exit' 'perl-test2-suite')
12 options=('!emptydirs')
13 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/FFI-CheckLib-$pkgver.tar.gz")
14 sha512sums=('9ac42e7153902cd178d9ee7d3db7edb96deb30c8b53cdd6c14706cde200598ecd98031c8e17394fcd1fb2c770a0ec776131e2ff93491d6b307a6e595fd788d5a')
16 build() {
17   cd FFI-CheckLib-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd FFI-CheckLib-$pkgver
24   make test
27 package() {
28   cd FFI-CheckLib-$pkgver
29   make DESTDIR="$pkgdir" install