summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpappy2018-07-23 16:02:01 +0300
committerpappy2018-07-23 16:02:01 +0300
commit71597196f292fb5fd7a13554c19ad983a25d65c6 (patch)
treedebc28c8198ff1dfba917bf900f108f4c7a347d2
parent191458199c4047b56823ffa311ac89e0568b9684 (diff)
downloadaur-71597196f292fb5fd7a13554c19ad983a25d65c6.tar.gz
fixed licence issue
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ed130c99d1..b99f7ea54b7 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 a204f4763c5..609c8fad970 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"