summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 939ad2eb3528b1a06e4e6322a001beadefdfc000 (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
# Maintainer: robertfoster
# Contributor: Michael J. Pento <mjpento@verizon.net>

pkgname=artifactory-oss
pkgver=7.90.13
pkgrel=1
pkgdesc='Artifactory is an advanced Binary Repository Manager for use by build tools, dependency management tools and build servers'
arch=('any')
url="https://jfrog.com/community/download-artifactory-oss/"
license=('GPLv3')
depends=('java-runtime-headless' 'net-tools' 'bash')
install="$pkgname.install"
source=("https://releases.jfrog.io/artifactory/bintray-artifactory/org/artifactory/oss/jfrog-artifactory-oss/$pkgver/jfrog-artifactory-oss-$pkgver-linux.tar.gz"
  'artifactory.service'
  'artifactory.conf')

options=('!strip')
PKGEXT='.pkg.tar'

package() {
  local artdir="/opt/jfrog/artifactory"

  install -d "$pkgdir$artdir"
  cp -r "$pkgname-$pkgver"/* "$pkgdir$artdir"

  install -Dm644 "$srcdir/artifactory.conf" \
    "$pkgdir/usr/lib/sysusers.d/artifactory.conf"

  install -Dm644 "$srcdir/artifactory.service" \
    "$pkgdir/usr/lib/systemd/system/artifactory.service"
  install -d "$pkgdir$artdir/app/run"
}

sha256sums=('55eb771ec4b85ff0a95cca486a8e58088c511b4d98c059030af4dfcecb145b66'
  '9daada205ad4b201f28f791a04f006aad2ab8885078700d710566d99dc176b3d'
  '7cbc5f68aca3343c2d7445859bcf215150f421dbe36b84c79279abdefb7988de')