blob: dfb0da061dc47c7c67cdc00e69440c88c8e07302 (
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
42
|
# Maintainer (Arch): Andreas B. Wagner <AndreasBWagner@pointfree.net>
# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor (Arch): Dan Serban
# Contributor (Arch): Florian Richter <Florian_Richter@gmx.de>
pkgname=yacy
pkgver=1.90
_pkgextraver=20160704_9000
pkgrel=1
pkgdesc="Peer to peer search engine"
arch=('any')
url=http://www.yacy.net/
license=('GPL2')
depends=('java-environment')
makedepends=('apache-ant')
install=yacy.install
source=("http://www.yacy.net/release/yacy_v${pkgver}_${_pkgextraver}.tar.gz"
'yacy.sh'
'yacy.service')
options=(!emptydirs)
sha512sums=('d829be94fe22e770bd5b3586177f121b88558664dce3ee9b3caa9fada6d50d40c32d835e9b40f947f15c18a081d7d3f78fc111cb9508e9a26b28c34b78f3277f'
'ba15bcb3ee1873bae57881ca4d96f65ee1fa5b40cff0f0c21c542cad6a7983a057ec83faae9452b426d5441aad02f80e3633d1798d7f0d84a680ed2233adb11f'
'754b6224ef2a640cbfb50a3d46e92c04955dac3e683239872d2a5c9ba92016a1511c6049903322dd8a21e6d2cc51e2f4e9bd3339b4ef4aada68ae20b3acc189b')
build() {
. /etc/profile.d/apache-ant.sh
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
}
|