[arch-commits] Commit in sbt/trunk (PKGBUILD)
Guillaume Alaux
guillaume at archlinux.org
Fri Oct 28 19:48:00 UTC 2016
Date: Friday, October 28, 2016 @ 19:47:59
Author: guillaume
Revision: 193940
Upstream release 0.13.13
Modified:
sbt/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-28 19:43:26 UTC (rev 193939)
+++ PKGBUILD 2016-10-28 19:47:59 UTC (rev 193940)
@@ -5,9 +5,9 @@
pkgname=sbt
epoch=1
-pkgver=0.13.12
+pkgver=0.13.13
pkgrel=1
-pkgdesc="A minimally intrusive build tool for Scala projects"
+pkgdesc='A build tool for Scala, Java, and more'
arch=('any')
url='http://www.scala-sbt.org/'
license=('BSD')
@@ -15,21 +15,22 @@
IFS='.' read -a _pkgver <<< "${pkgver}"
source=(https://dl.bintray.com/${pkgname}/native-packages/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tgz
https://raw.githubusercontent.com/${pkgname}/${pkgname}/${_pkgver[0]}.${_pkgver[1]}/LICENSE)
-sha256sums=('280230f9c3f42a4af5699effff8425e08b6f47da72dfaa59e9b7ad0e6d6203df'
+sha256sums=('40d03d21a260c5a6a43f8349298f41c9d047f97972057d9d915afd8945faf979'
'70b7b72694a56a3e922deaf5482273e7c33bab2c00c0c67fc0ccc5d33927ffed')
package() {
- install -d "${pkgdir}"/usr/share
- cp -r "${srcdir}/${pkgname}" "${pkgdir}"/usr/share
- rm "${pkgdir}/usr/share/${pkgname}/bin/sbt.bat"
- rm "${pkgdir}/usr/share/${pkgname}/conf/sbtconfig.txt"
- find "${pkgdir}/usr/share/${pkgname}" -type f ! -name sbt -exec chmod -x {} \;
+ cd "${srcdir}/${pkgname}-launcher-packaging-${pkgver}"
- install -d "${pkgdir}"/usr/bin
- ln -s "/usr/share/${pkgname}/bin/sbt" "${pkgdir}"/usr/bin/sbt
+ mkdir -p "${pkgdir}"/usr/share/${pkgname}/bin
+ install -m 644 bin/sbt-launch.jar -t "${pkgdir}"/usr/share/${pkgname}/bin
+ install -m 755 bin/sbt -t "${pkgdir}"/usr/share/${pkgname}/bin
+ mkdir -p "${pkgdir}"/usr/bin
+ ln -s /usr/share/${pkgname}/bin/sbt "${pkgdir}"/usr/bin/sbt
+ install -m 644 bin/sbt-launch-lib.bash -t "${pkgdir}"/usr/share/${pkgname}/bin
- install -d "${pkgdir}/etc/${pkgname}"
- ln -s "/usr/share/${pkgname}/conf/sbtopts" "${pkgdir}/etc/${pkgname}/sbtopts"
+ install -D -m 644 conf/sbtopts -t "${pkgdir}"/usr/share/${pkgname}/conf
+ mkdir -p "${pkgdir}"/etc/${pkgname}
+ ln -s /usr/share/${pkgname}/conf/sbtopts "${pkgdir}"/etc/${pkgname}/sbtopts
- install -D -m644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+ install -D "${srcdir}"/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
}
More information about the arch-commits
mailing list