Remove `unpackCmd's not needed with GNU tar format auto-detection (r18492).
svn path=/nixpkgs/branches/stdenv-updates/; revision=18653
This commit is contained in:
@@ -4,14 +4,12 @@ stdenv.mkDerivation (rec {
|
||||
name = "pqiv-0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.pberndt.com/raw//Programme/Linux/pqiv/_download/pqiv-0.8.tbz";
|
||||
url = "http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/${name}.tbz";
|
||||
sha256 = "365332bab4b13ca56da6935e7155af20658e67d323808942dce23e880466f66d";
|
||||
};
|
||||
|
||||
buildInputs = [ getopt which pkgconfig gtk ];
|
||||
|
||||
unpackCmd="bzip2 -d < $src | tar xvf - || fail";
|
||||
|
||||
preConfigure=''
|
||||
substituteInPlace configure --replace /bin/bash "$shell"
|
||||
sed -i -e 's|$(tempfile -s.*)|temp.c|' -e 's|tempfile|mktemp|' configure
|
||||
|
||||
Reference in New Issue
Block a user