summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2019-06-26 23:07:45 +0100
committerEric Engestrom2019-06-26 23:07:51 +0100
commit11d7b232b8410cb0203c708a1fccd6d2158e2f74 (patch)
treeb1272b22e9efe64c6fd6caf8650954ba1f07a97e
parent409e108e45c33415d567d5cc780e4c7285d4f33e (diff)
downloadaur-11d7b232b8410cb0203c708a1fccd6d2158e2f74.tar.gz
use BSD tar instead of GNU tar
the archive seems to be using features only bsdtar can handle
-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"