pdfjam: update from 1.20 to 2.08
This commit is contained in:
parent
b1e52be91d
commit
65242d4a74
|
@ -3,7 +3,7 @@ source $stdenv/setup
|
||||||
tar zxvf $src
|
tar zxvf $src
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp pdfjam/scripts/* $out/bin
|
cp pdfjam/bin/* $out/bin
|
||||||
|
|
||||||
mkdir -p $out/man/man1
|
mkdir -p $out/man/man1
|
||||||
cp pdfjam/man1/* $out/man/man1
|
cp pdfjam/man1/* $out/man/man1
|
||||||
|
|
|
@ -1,10 +1,17 @@
|
||||||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
{stdenv, fetchurl}:
|
||||||
name = "pdfjam-1.20";
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "pdfjam-${version}";
|
||||||
|
version = "2.08";
|
||||||
|
url-version = stdenv.lib.replaceChars ["."] [""] version;
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.warwick.ac.uk/go/pdfjam/pdfjam_1.20.tgz;
|
url = "http://go.warwick.ac.uk/pdfjam/pdfjam_${url-version}.tgz";
|
||||||
sha256 = "05g3mx7mb6h15ivbv0f53r369xphy8ad8a2xblpnk9mrnlrkaxy9";
|
sha256 = "1wy0xhcy27d7agby598s20ba48s4yg5qkzr6anc6q1xdryccacf7";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.mornfall ];
|
maintainers = [ maintainers.mornfall ];
|
||||||
|
|
Loading…
Reference in New Issue