--- admin/PlamoBuild-template-20170713	2017-07-13 13:07:00.000000000 +0900
+++ plamo/04_xapps/librsvg/PlamoBuild.librsvg-2.40.16	2018-04-20 17:01:31.000000000 +0900
@@ -1,19 +1,19 @@
 #!/bin/sh
 
 ######################################################################
-url=""
+url="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.40/librsvg-2.40.16.tar.xz"
 verify=
 digest=
 branch=
 commitid=
-pkgbase=
-vers=
+pkgbase=librsvg
+vers=2.40.16
 arch=`uname -m`
-build=P1
+build=P2
 src=$pkgbase-$vers
 patchfiles=""
-OPT_CONFIG=""
-DOCS="README"
+OPT_CONFIG="--disable-vala"
+DOCS="AUTHORS NEWS TODO INSTALL ChangeLog COPYING.LIB README COPYING"
 template=20170713
 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin
 ######################################################################
@@ -70,11 +70,23 @@
   find $P ! -type l -newer i.st ! -newer i.et \
       -exec touch -t `date '+%m%d0900'` {} \;
   compress
+  strip_libdir $P/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
   setup_docdir
   convert_links
   tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2`
+  tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name librsvg*`
+  tar rvpf $pkg.tar -C $P \
+      `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2`
+  tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2`
+  tar rvpf $pkg.tar -C $P \
+      `cd $P ; find usr/$libdir/gdk-pixbuf-2.0/2.10.0/loaders | tail -n+2`
+  tar rvpf $pkg.tar -C $P usr/include/librsvg-2.0
+  tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2`
+  tar rvpf $pkg.tar -C $P \
+      `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2`
   tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2`
   tar rvpf $pkg.tar -C $P usr/share/doc/$src
+  tar rvpf $pkg.tar -C $P install/doinst.sh
   touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz
   mv $pkg.tar.xz $pkg.txz
   cleanup