File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # INSTALL
2+ case "$ACTION" in
3+ post)
4+ chown -R _yacy:_yacy /var/lib/yacy
5+ ;;
6+ esac
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ exec 2>&1
3+ exec chpst -u _yacy:_yacy /var/lib/yacy/startYACY.sh -f
Original file line number Diff line number Diff line change 1+ # Template file for 'yacy'
2+ pkgname=yacy
3+ version=1.941
4+ revision=1
5+ hostmakedepends="apache-ant openjdk21 git"
6+ depends="openjdk21"
7+ short_desc="Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance"
8+ maintainer="Jason Elswick <jason@jasondavid.us>"
9+ license="GPL-2.0-or-later"
10+ homepage="https://yacy.net"
11+ distfiles="https://github.com/yacy/yacy_search_server/archive/refs/tags/Release_${version}.tar.gz"
12+ checksum=90e0bdef16893cdc5f0e812add1b977ee5fee34fa18ac56d4f6deba6fe521050
13+ system_accounts="_yacy"
14+ _yacy_homedir="/var/lib/yacy"
15+ make_dirs="/var/lib/yacy 0755 _yacy _yacy"
16+
17+ do_build() {
18+ export JAVA_HOME="/usr/lib/jvm/openjdk21"
19+ ant all
20+ }
21+
22+ do_install() {
23+ vmkdir var/lib/yacy
24+ vcopy ${wrksrc}/* var/lib/yacy
25+ }
26+
27+ post_install() {
28+ vsv yacy
29+ }
You can’t perform that action at this time.
0 commit comments