blob: 6461e2c3b9f0595c1f20d597793d6a9bebac0759 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
pkgname=spyglass-bin
pkgver=23.11.1
pkgrel=3
pkgdesc="A personal search engine that indexes what you want, exposing it to you in a simple & fast interface"
arch=('x86_64')
url="https://github.com/spyglass-search/spyglass"
license=("AGPL3")
source_x86_64=("https://github.com/spyglass-search/spyglass/releases/download/v20${pkgver}/spyglass_${pkgver}_amd64.deb")
sha256sums_x86_64=('98389784ab2f8912cb5dfd2d5a7b64ab69c28b678147566bdc0365c635623d9f')
depends=('openssl')
provides=('spyglass')
confilcts=('spyglass')
package() {
optdir="/opt/spyglass"
tar -xvf 'data.tar.gz' -C "${pkgdir}"
rm "${pkgdir}/usr/bin/pdftotext"
mkdir -pv "${pkgdir}${optdir}"
mv "${pkgdir}/usr/bin" "${pkgdir}${optdir}"
mkdir -pv "${pkgdir}/usr/bin"
ln -sfv "${optdir}/bin/spyglass" -t "${pkgdir}/usr/bin"
ln -sfv "${optdir}/bin/spyglass-server" -t "${pkgdir}/usr/bin"
ln -sfv "${optdir}/bin/spyglass-debug" -t "${pkgdir}/usr/bin"
}
|