From f94ee88038cb5411c9ba021ed48cf715dcf8ef63 Mon Sep 17 00:00:00 2001 From: Jaroslav Lichtblau Date: Mon, 1 Dec 2014 18:27:11 +0100 Subject: [PATCH] swish-e-2.4.7-1 --- .SRCINFO | 4 ++-- PKGBUILD | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2d7d20557017..a1a757e0eb7f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ pkgbase = swish-e - pkgdesc = Fast, flexible and free open source system for indexing collections of Web pages or other files. + pkgdesc = Fast, flexible and free open source system for indexing collections of Web pages or other files pkgver = 2.4.7 pkgrel = 1 - url = http://www.swish-e.org + url = http://www.swish-e.org/ arch = i686 arch = x86_64 license = custom diff --git a/PKGBUILD b/PKGBUILD index aac645529a94..584911edfd09 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,22 +3,25 @@ pkgname=swish-e pkgver=2.4.7 pkgrel=1 -pkgdesc="Fast, flexible and free open source system for indexing collections of Web pages or other files." +pkgdesc="Fast, flexible and free open source system for indexing collections of Web pages or other files" arch=('i686' 'x86_64') -url="http://www.swish-e.org" +url="http://www.swish-e.org/" license=('custom') depends=('libxml2') source=(http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz) - md5sums=('736db7a65aed48bb3e2587c52833642d') build() { - cd ${srcdir}/$pkgname-$pkgver + cd "${srcdir}"/$pkgname-$pkgver ./configure --with-zlib --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib - make || return 1 - make DESTDIR=${pkgdir} install - -#custom license - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING || return 1 + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + make DESTDIR="${pkgdir}" install +#license + install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/COPYING }