mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
docbook-xsl: Remove cruft
This commit is contained in:
parent
4e41b64511
commit
97cd7cfea2
@ -1,8 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unpackFile $src
|
||||
mkdir xml
|
||||
mkdir xml/xsl
|
||||
mv docbook-xsl-* xml/xsl/docbook
|
@ -1,10 +1,24 @@
|
||||
{stdenv, fetchurl}:
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "docbook-xsl-1.78.1";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/docbook/docbook-xsl-1.78.1.tar.bz2;
|
||||
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
|
||||
sha256 = "0rxl013ncmz1n6ymk2idvx3hix9pdabk8xn01cpcv32wmfb753y9";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
dst=$out/share/xml/docbook-xsl
|
||||
mkdir -p $dst
|
||||
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh svn* tools log Makefile tests extensions webhelp
|
||||
mv * $dst/
|
||||
|
||||
# Backwards compatibility. Will remove eventually.
|
||||
mkdir -p $out/xml/xsl
|
||||
ln -s $dst $out/xml/xsl/docbook
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user