aboutsummaryrefslogblamecommitdiffstats
path: root/testing/recoll/APKBUILD
blob: 634d56eda8954f15fd42a88d233c56a33e19b429 (plain) (tree)
1
2
3
4
5
6
7

                                                     
              
        
                                       
                                            
          










                          



                                                                  

           








                                                                   


                               


                                           

                                         



            



                                      


                  
                                                                                                                                                                   
                                                                                                                                               
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=recoll
pkgver=1.25.16
pkgrel=0
pkgdesc="Desktop full-text search tool"
url="https://www.lesbonscomptes.com/recoll/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	file
	libx11-dev
	libxslt-dev
	qt5-qtbase-dev
	xapian-core-dev
	zlib-dev
	aspell-dev
	qt5-qtwebkit-dev
	"
subpackages="$pkgname-doc"
source="http://www.lesbonscomptes.com/recoll/recoll-$pkgver.tar.gz
	xattrs.patch
	"

prepare() {
	default_prepare
	for file_ext in h cpp; do
		sed -i 's/u_int64_t/uint64_t/g' utils/md5.$file_ext
		sed -i 's/u_int32_t/uint32_t/g' utils/md5.$file_ext
		sed -i 's/u_int8_t/uint8_t/g' utils/md5.$file_ext
	done
}

build() {
	QMAKE=qmake-qt5 \
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-python-module \
		--disable-python-chm
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

check() {
	make check
}

sha512sums="26aa0de2892c5bef70df3d80178fdb8a14afefd87d05b31136131426aae63309331c45ba31236f6fd3ae686c338a04a67eed7e25de99d56765ee6ea41abf59b7  recoll-1.25.16.tar.gz
ad482352fb92077284a87ebb9bc2cd0c9aa093358d43c4d768cb6cd9a2c610e215263d555bd3d23aadbf2e1025e3b886723e7b50edfab6974328931b3b194188  xattrs.patch"