summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2018-04-30 22:04:18 -0400
committerChris Severance2018-04-30 22:04:18 -0400
commitc6cc0976ae1746afa51eb86332498cb8d5987879 (patch)
treed9a011040700233e10a3d6eeccd27df2328485cf
parent77eb848e05a671d91952860046fbae567eca6222 (diff)
downloadaur-c6cc0976ae1746afa51eb86332498cb8d5987879.tar.gz
Fix slf4j-api
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b66697511d0..7a5004bc460 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
# Generated by mksrcinfo v8
-# Wed Apr 11 18:26:01 UTC 2018
+# Tue May 1 02:04:06 UTC 2018
pkgbase = liquibase
pkgdesc = VCS source control tailored for database management
pkgver = 3.6.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.liquibase.org/
arch = any
license = Apache
depends = java-environment
+ depends = slf4j
options = !strip
source = https://github.com/liquibase/liquibase/releases/download/liquibase-parent-3.6.1/liquibase-3.6.1-bin.tar.gz
source = liquibase.profile
diff --git a/PKGBUILD b/PKGBUILD
index 9942d87cbaa..46db2b0b4d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@
set -u
pkgname='liquibase'
pkgver='3.6.1'
-pkgrel='1'
+pkgrel='2'
pkgdesc='VCS source control tailored for database management'
arch=('any')
url="http://www.liquibase.org/"
license=('Apache')
-depends=('java-environment')
+depends=('java-environment' 'slf4j')
_giturl="https://github.com/liquibase/${pkgname}"
_verwatch=("${_giturl}/releases" "${_giturl#*github.com}/releases/download/liquibase-parent-[^/]\+/liquibase-\([0-9\.]\+\)-bin.tar.gz" 'l')
options=('!strip')
@@ -28,13 +28,13 @@ package() {
# This binary link removes the need for the profile files that require a logout to make work
install -d "${pkgdir}/usr/bin"
- ln -sf '/opt/liquibase/liquibase' "${pkgdir}/usr/bin/liquibase"
+ ln -s '/opt/liquibase/liquibase' -t "${pkgdir}/usr/bin/"
# create folders
install -d "${pkgdir}/opt/liquibase"
# move liquibase tar content to /opt/liquibase
- find "${srcdir}/." -maxdepth 1 -not -type l -not -name '*.' -exec mv '{}' "${pkgdir}/opt/liquibase/" ';'
+ find "${srcdir}/." -maxdepth 1 -not -type 'l' -not -name '*.' -exec mv '{}' "${pkgdir}/opt/liquibase/" ';'
#cp -r ${srcdir}/* ${pkgdir}/opt/liquibase
# make liquibase executable
@@ -43,8 +43,12 @@ package() {
# remove files for other platforms
rm -f "${pkgdir}/opt/liquibase"/{liquibase.bat,liquibase.spec}
+ # Supply API
+ ln -s '/usr/share/java/slf4j/slf4j-api.jar' -t "${pkgdir}/opt/liquibase/lib/"
+
install -d "${pkgdir}/usr/share/licenses/${pkgbase}/"
- ln -sf '/opt/liquibase/LICENSE.txt' "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE.txt"
+ ln -s '/opt/liquibase/LICENSE.txt' -t "${pkgdir}/usr/share/licenses/${pkgbase}/"
+
set +u
}
set +u