[arch-commits] Commit in perl-search-xapian/trunk (PKGBUILD)

Morten Linderud foxboron at gemini.archlinux.org
Sat Apr 30 11:45:33 UTC 2022


    Date: Saturday, April 30, 2022 @ 11:45:33
  Author: foxboron
Revision: 1191911

upgpkg: perl-search-xapian 1.2.25.5-1: addpkg: perl-search-xapian 1.2.25.5-1

Added:
  perl-search-xapian/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-30 11:45:33 UTC (rev 1191911)
@@ -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