blob: 426ff454570c6294defd5b7ad06307bba34c98e7 (
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
|
# Maintainer: Sandor Nagy <sandor dot nagy at kdemail dot net>
# Contributor: Humberto F. da Luz Jr. <hfluz at uel dot br>
# Contributor: Zhuo Peng <zhuo dot peng at vanemy dot org>
pkgname=archiva
pkgver=2.2.10
pkgrel=1
pkgdesc="Apache Archiva™ is an extensible repository management software that helps taking care of your own personal or enterprise-wide build artifact repository"
arch=("any")
url="http://archiva.apache.org/"
license=("Apache")
depends=("java-runtime-headless>=7")
source=("https://www.apache.org/dist/archiva/$pkgver/binaries/apache-archiva-$pkgver-bin.tar.gz"
"archiva.service")
md5sums=('21ea7b002f856aa2121bf4778a95e40f'
'd741d8899541001f6ab062b2772428e4')
package() {
cd "$srcdir"
sed -i 's/8080/8081/' apache-archiva-$pkgver/conf/jetty.xml
mkdir -p "$pkgdir/usr/share/java/archiva"
cp -r apache-archiva-$pkgver/* "$pkgdir/usr/share/java/archiva"
chmod 444 "$pkgdir/usr/share/java/archiva"
install -Dm644 archiva.service "$pkgdir/usr/lib/systemd/system/archiva.service"
}
|