void-packages/srcpkgs/librsvg/librsvg-devel.template

32 lines
1.0 KiB
Plaintext

# Template file for 'librsvg-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run libgsf-devel
Add_dependency run libcroco-devel
Add_dependency run gtk+-devel
Add_dependency run gtk+3-devel
Add_dependency run librsvg
do_install()
{
local gtk_abiver="2.10.0"
install -d ${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/engines
install -d ${DESTDIR}/usr/lib/gdk-pixbuf-2.0/${gtk_abiver}/loaders
install -d ${DESTDIR}/usr/{bin,lib}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/engines/*.a \
${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/engines
mv ${SRCPKGDESTDIR}/usr/lib/gdk-pixbuf-2.0/${gtk_abiver}/loaders/*.a \
${DESTDIR}/usr/lib/gdk-pixbuf-2.0/${gtk_abiver}/loaders
}