summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEd Branch2015-12-12 16:23:09 -0600
committerEd Branch2015-12-12 16:23:09 -0600
commitfd00efc3fb63a231ed232e8b2bc6642f65f563fa (patch)
tree5b336b319863c0c7bbc889485b50f993f7aea7e9 /PKGBUILD
parent5a00fd4fbb26bb964b7bab35ae9b63f1d347c3c9 (diff)
downloadaur-fd00efc3fb63a231ed232e8b2bc6642f65f563fa.tar.gz
1.0.1-3 - fixes prepare failes on subsequent execution
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e25f644cdf5..5618bd9c25f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=libvariant
pkgname=libvariant
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="A C++ dynamically typed composable object library with de/serializers"
arch=('i686' 'x86_64')
url="https://bitbucket.org/gallen/libvariant"
@@ -10,11 +10,11 @@ license=('GPL')
depends=('libxml2' 'libyaml' 'curl')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.bz2::https://bitbucket.org/gallen/${pkgname}/get/${pkgver}.tar.bz2")
+noextract=("${pkgname}-${pkgver}.tar.bz2")
sha256sums=('004789d04a728f36065ca80ba166d0d897158b4164f2b8e3def0916f8bf509f7')
prepare() {
- local extractdir="$(dirname $(tar -f ${pkgname}-${pkgver}.tar.bz2 --list | head -n1))"
- mv "${extractdir}" "${pkgname}-${pkgver}"
+ tar -x --strip-components=1 --one-top-level -f ${pkgname}-${pkgver}.tar.bz2
mkdir -p "${pkgname}-${pkgver}/build"
}