blob: e37951ded83ed3ff437d51ddb4269329a15de2d7 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer (Arch): Nissar Chababy <funilrys at outlook dot com>
# Ex-Maintainer (Arch): Andreas B. Wagner <AndreasBWagner@pointfree.net>
# Ex-Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor (Arch): Dan Serban
# Contributor (Arch): Florian Richter <Florian_Richter@gmx.de>
pkgname=yacy
pkgver=1.922
_pkgextraver=20191013_9964
pkgrel=1
pkgdesc="Peer to peer search engine"
arch=('any')
url=http://www.yacy.net/
license=('GPL2')
depends=('java-environment=8')
makedepends=('apache-ant')
install=yacy.install
source=("http://latest.yacy.net/yacy_v${pkgver}_${_pkgextraver}.tar.gz"
'yacy.sh'
'yacy.service')
options=(!emptydirs)
sha512sums=('cc21a5513a25da9941c9bac6d1006eee733290ccb1fa4038e3a7228bfb384344985797cb23b643772feffadcb55f6a1b972f52b9e386a15bf3a9029fa1dfce05'
'0e337c6e616cd3145a558a509724b03a4a3588d6967b4ea671610d5175a25324d3eb16e27ca76217b1482f97f26ee4ac9f237e68c9b20fb4e051bfab6f1ac006'
'754b6224ef2a640cbfb50a3d46e92c04955dac3e683239872d2a5c9ba92016a1511c6049903322dd8a21e6d2cc51e2f4e9bd3339b4ef4aada68ae20b3acc189b')
build() {
cd "$srcdir/$pkgname"
ant all
}
package() {
cd "$srcdir/$pkgname"
ant installonlinux -DDESTDIR="$pkgdir/"
install -d "$pkgdir"/usr/share/java/yacy
install -t "$pkgdir"/usr/share/java/yacy/ lib/*.jar
install -Dm755 "${srcdir}/yacy.sh" "${pkgdir}/opt/yacy/yacy"
install -Dm644 "${srcdir}/yacy.service" "${pkgdir}/usr/lib/systemd/system/yacy.service"
rm -f "$pkgdir"/etc/yacy "$pkgdir"/usr/share/yacy/DATA "$pkgdir"/var/log/yacy
}
|