docbook-xsl düzenlendi
This commit is contained in:
1 parent
92eba2923d
commit
9111c6d218
1 file changed
+5
-6
@@ -20,19 +20,17 @@ cd $name-$version
|
|||||||
|
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
#make $jobs
|
|
||||||
patch -Np2 -i ../765567_non-recursive_string_subst.patch
|
patch -Np2 -i ../765567_non-recursive_string_subst.patch
|
||||||
cd ../$name-nons-$version
|
cd ../$name-nons-$version
|
||||||
patch -Np2 -i ../765567_non-recursive_string_subst.patch
|
patch -Np2 -i ../765567_non-recursive_string_subst.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
#make install $jobs
|
|
||||||
#depends=(libxml2 libxslt docbook-xml)
|
|
||||||
|
|
||||||
local pkgroot ns dir
|
local pkgroot ns dir
|
||||||
for ns in -nons ''; do
|
for ns in -nons ''; do
|
||||||
pkgroot="$DESTDIR/usr/share/xml/docbook/xsl-stylesheets-$verion$ns"
|
pkgroot="$DESTDIR/usr/share/xml/docbook/xsl-stylesheets-$version$ns"
|
||||||
dir="../"$name$ns-$version
|
dir="../"$name$ns-$version
|
||||||
|
|
||||||
install -Dt "$pkgroot" -m644 $dir/VERSION{,.xsl}
|
install -Dt "$pkgroot" -m644 $dir/VERSION{,.xsl}
|
||||||
@@ -47,8 +45,9 @@ package(){
|
|||||||
done
|
done
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
install -v -m644 -D README /usr/share/doc/docbook-xsl-nons-1.79.2/README.txt
|
||||||
|
install -v -m644 RELEASE-NOTES* NEWS* /usr/share/doc/docbook-xsl-nons-1.79.2
|
||||||
install -d "$DESTDIR/etc/xml"
|
install -d "$DESTDIR/etc/xml"
|
||||||
install -Dt "$DESTDIR/usr/share/licenses/$pkgname" -m644 $dir/COPYING
|
install -Dt "$DESTDIR/usr/share/licenses/$name" -m644 $dir/COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user