summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0581c2ac6f2..173b0d06384 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,7 @@ pkgbase = cov-analysis
arch = i686
arch = x86_64
license = custom
+ makedepends = libarchive
depends = java-environment
source = cov-analysis.sh
sha256sums = a36e738b4eae818cbc2c6ace3cae8a075c7e6f5d282c059397441e91208c8e97
diff --git a/PKGBUILD b/PKGBUILD
index dcadc0db73f..17470f83aeb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ license=('custom')
depends=('java-environment')
source=("${pkgname}.sh")
sha256sums=('a36e738b4eae818cbc2c6ace3cae8a075c7e6f5d282c059397441e91208c8e97')
+makedepends=('libarchive')
source_i686=( "cov-analysis-linux-${pkgver}.tar.gz")
source_x86_64=("cov-analysis-linux64-${pkgver}.tar.gz")
@@ -23,7 +24,7 @@ noextract=("${_tarball}")
package() {
install -dm755 "${pkgdir}/opt/${pkgname}"
cd "${pkgdir}/opt/${pkgname}"
- tar --strip-components=2 -xf "${srcdir}/${_tarball}"
+ bsdtar --strip-components=2 -xf "${srcdir}/${_tarball}"
cd "${srcdir}"
install -dm755 "${pkgdir}/etc/profile.d"