summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ed130c99d18..b99f7ea54b73 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,7 @@ pkgbase = nexus-oss
url = http://nexus.sonatype.org
install = nexus-oss.install
arch = any
- license = custom:sonatype
+ license = custom:nexus-oss
depends = jre8-openjdk-headless
provides = nexus-oss
replaces = nexus3
diff --git a/PKGBUILD b/PKGBUILD
index a204f4763c5f..609c8fad9708 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Nexus 3 Repository OSS'
arch=('any')
url='http://nexus.sonatype.org'
-license=('custom:sonatype')
+license=("custom:$pkgname")
depends=('jre8-openjdk-headless')
replaces=('nexus3')
provides=($pkgname)
@@ -53,7 +53,7 @@ package() {
install -Dm640 $srcdir/$pkgname.properties $pkgdir/var/lib/$pkgname/etc/nexus.properties
- install -Dm644 $srcdir/nexus-$_version-$_patch/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 $srcdir/nexus-$_version-$_patch/OSS-LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -Dm755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname
install -Dm644 $srcdir/$pkgname.vmoptions $pkgdir/usr/lib/$pkgname/bin/nexus.vmoptions
install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"