archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-text-iconv / repos / extra-x86_64 / PKGBUILD
blob73d61afbcc795c0f2245adcfe74e8a90c15673a4
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Francois Charette <firmicus@gmx.net>
4 pkgname=perl-text-iconv
5 pkgver=1.7
6 pkgrel=22
7 pkgdesc="Interface to iconv codeset conversion"
8 arch=('x86_64')
9 url="https://search.cpan.org/dist/Text-Iconv/"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl')
12 options=('!emptydirs')
13 source=("https://www.cpan.org/authors/id/M/MP/MPIOTR/Text-Iconv-$pkgver.tar.gz") 
14 sha256sums=('5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3')
16 build() {
17   cd Text-Iconv-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd Text-Iconv-$pkgver
24   make test
27 package() {
28   cd Text-Iconv-$pkgver
29   make DESTDIR="$pkgdir" install