summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Branch2015-12-12 16:23:09 -0600
committerEd Branch2015-12-12 16:23:09 -0600
commitfd00efc3fb63a231ed232e8b2bc6642f65f563fa (patch)
tree5b336b319863c0c7bbc889485b50f993f7aea7e9
parent5a00fd4fbb26bb964b7bab35ae9b63f1d347c3c9 (diff)
downloadaur-fd00efc3fb63a231ed232e8b2bc6642f65f563fa.tar.gz
1.0.1-3 - fixes prepare failes on subsequent execution
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52911df1c5e..a4f51cb513d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Sat Dec 12 22:21:51 UTC 2015
pkgbase = libvariant
pkgdesc = A C++ dynamically typed composable object library with de/serializers
pkgver = 1.0.1
- pkgrel = 2
+ pkgrel = 3
url = https://bitbucket.org/gallen/libvariant
arch = i686
arch = x86_64
@@ -10,6 +12,7 @@ pkgbase = libvariant
depends = libxml2
depends = libyaml
depends = curl
+ noextract = libvariant-1.0.1.tar.bz2
source = libvariant-1.0.1.tar.bz2::https://bitbucket.org/gallen/libvariant/get/1.0.1.tar.bz2
sha256sums = 004789d04a728f36065ca80ba166d0d897158b4164f2b8e3def0916f8bf509f7
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"
}