upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-sort-naturally / trunk / PKGBUILD
blobd07a1226d515516e05fe4e1d948df01e143d53f6
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname='perl-sort-naturally'
4 pkgver=1.03
5 pkgrel=8
6 pkgdesc="sort lexically, but sort numeral parts numerically"
7 arch=('any')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='https://search.cpan.org/dist/Sort-Naturally'
12 source=("https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Sort-Naturally-$pkgver.tar.gz")
13 sha256sums=('eaab1c5c87575a7826089304ab1f8ffa7f18e6cd8b3937623e998e865ec1e746')
15 build() {
16   cd "$srcdir"/Sort-Naturally-$pkgver
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
18   make
19   make test
22 package() {
23   cd "$srcdir"/Sort-Naturally-$pkgver
24   make install DESTDIR="$pkgdir"
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete