[arch-commits] Commit in perl-search-xapian/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun May 29 10:18:54 UTC 2022
Date: Sunday, May 29, 2022 @ 10:18:53
Author: foutrelis
Revision: 1214137
archrelease: copy trunk to community-staging-x86_64
Added:
perl-search-xapian/repos/community-staging-x86_64/
perl-search-xapian/repos/community-staging-x86_64/PKGBUILD
(from rev 1214135, perl-search-xapian/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: perl-search-xapian/repos/community-staging-x86_64/PKGBUILD (from rev 1214135, perl-search-xapian/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-05-29 10:18:53 UTC (rev 1214137)
@@ -0,0 +1,33 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+_pkg="Search-Xapian"
+pkgname='perl-search-xapian'
+pkgver='1.2.25.5'
+pkgrel=1
+pkgdesc="Perl XS frontend to the Xapian C++ search library."
+arch=('x86_64')
+url='https://metacpan.org/release/Search-Xapian'
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-devel-leak' 'xapian-core')
+source=("http://search.cpan.org/CPAN/authors/id/O/OL/OLLY/Search-Xapian-$pkgver.tar.gz")
+sha512sums=('3099ba3f8726029d7a5c916f6b05d2d7cea41534b0f364687c7d9e0212340dca2a313a1ac8e0f6531a7c1084c8833a0e6d45bcff8fec32e0a6e5922bc0bcb81f')
+
+build() {
+ cd "$_pkg-${pkgver}"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "$_pkg-${pkgver}"
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+}
+
+package() {
+ cd "$_pkg-${pkgver}"
+ make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list