hunspell: remove phases
This commit is contained in:
parent
e7a35cdb31
commit
afe3fa49f9
@ -45,7 +45,6 @@ let
|
|||||||
maintainers = with maintainers; [ renzo ];
|
maintainers = with maintainers; [ renzo ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
phases = "unpackPhase patchPhase buildPhase installPhase";
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
buildInputs = [ bash coreutils which zip ];
|
buildInputs = [ bash coreutils which zip ];
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -89,7 +88,6 @@ let
|
|||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
phases = "unpackPhase installPhase";
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
unzip $src dictionaries/${dictFileName}.dic dictionaries/${dictFileName}.aff $readmeFile
|
unzip $src dictionaries/${dictFileName}.dic dictionaries/${dictFileName}.aff $readmeFile
|
||||||
@ -129,7 +127,6 @@ let
|
|||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
phases = "unpackPhase installPhase";
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
unzip $src ${dictFileName}.dic ${dictFileName}.aff ${readmeFile}
|
unzip $src ${dictFileName}.dic ${dictFileName}.aff ${readmeFile}
|
||||||
@ -158,7 +155,6 @@ let
|
|||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
phases = "unpackPhase installPhase";
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
unzip $src ${srcFileName}.dic ${srcFileName}.aff ${srcReadmeFile}
|
unzip $src ${srcFileName}.dic ${srcFileName}.aff ${srcReadmeFile}
|
||||||
@ -185,7 +181,6 @@ let
|
|||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
phases = "unpackPhase patchPhase installPhase";
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# Fix dic file empty lines (FS#22275)
|
# Fix dic file empty lines (FS#22275)
|
||||||
@ -204,7 +199,6 @@ let
|
|||||||
|
|
||||||
inherit srcs;
|
inherit srcs;
|
||||||
|
|
||||||
phases = ["unpackPhase" "installPhase"];
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
# Copy files stripping until first dash (path and hash)
|
# Copy files stripping until first dash (path and hash)
|
||||||
unpackCmd = "cp $curSrc \${curSrc##*-}";
|
unpackCmd = "cp $curSrc \${curSrc##*-}";
|
||||||
@ -242,7 +236,8 @@ let
|
|||||||
|
|
||||||
buildInputs = [ ispell perl hunspell ];
|
buildInputs = [ ispell perl hunspell ];
|
||||||
|
|
||||||
phases = ["unpackPhase" "installPhase"];
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
patchShebangs bin
|
patchShebangs bin
|
||||||
make hunspell/${dictFileName}.aff hunspell/${dictFileName}.dic
|
make hunspell/${dictFileName}.aff hunspell/${dictFileName}.dic
|
||||||
|
Loading…
Reference in New Issue
Block a user