diff options
author | pappy | 2020-09-22 08:43:37 +0200 |
---|---|---|
committer | pappy | 2020-09-22 08:43:37 +0200 |
commit | 9073e7cb2c7d39e5549ce5b80e56bde2e7fb5226 (patch) | |
tree | af17c7f00fbe7aa24a2cd5e05ea7a13156440d20 | |
parent | b414ac46bef10d43e5a9e92e4f2da92734b15ecc (diff) | |
download | aur-9073e7cb2c7d39e5549ce5b80e56bde2e7fb5226.tar.gz |
fixed build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = nexus pkgdesc = Nexus 2 Repository Manager (OSS) pkgver = 2.14.13.01 - pkgrel = 1 + pkgrel = 2 url = http://nexus.sonatype.org install = nexus.install arch = any diff --git a/.gitignore b/.gitignore index f79c1a2d05a0..54ef1f95bbc3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ pkg src *.xz *.gz +*.zst @@ -5,7 +5,7 @@ _patch=01 pkgname=nexus pkgver=${_version}.${_patch} -pkgrel=1 +pkgrel=2 pkgdesc="Nexus 2 Repository Manager (OSS)" url="http://nexus.sonatype.org" arch=('any') @@ -39,8 +39,8 @@ package() { # move documentation to the right location mkdir -p $pkgdir/usr/share/doc/nexus - install $srcdir/nexus-$pkgver-$patchver/*.txt $pkgdir/usr/share/doc/nexus - rm $srcdir/nexus-$pkgver-$patchver/*.txt + install $srcdir/nexus-$_version-$_patch/*.txt $pkgdir/usr/share/doc/nexus + rm $srcdir/nexus-$_version-$_patch/*.txt # move example configuration to the right location mkdir -p $pkgdir/usr/share/doc/nexus/conf @@ -49,7 +49,7 @@ package() { mkdir -p $pkgdir/opt/nexus/run # copy the source to the final directory - cp -a $srcdir/nexus-${pkgver}-${patchver}/* $pkgdir/opt/nexus || return 1 + cp -a $srcdir/nexus-$_version-${_patch}/* $pkgdir/opt/nexus || return 1 install $srcdir/nexus $pkgdir/opt/nexus/bin/nexus #install $srcdir/nexus.properties $pkgdir/opt/nexus/conf/nexus.properties || return 1 |