--- admin/PlamoBuild-template-20180815	2018-08-15 16:18:50.000000000 +0900
+++ plamo/03_xclassics/rxvt/PlamoBuild.rxvt-2.7.10	2019-10-14 13:50:15.000000000 +0900
@@ -1,19 +1,26 @@
 #!/bin/sh
 
 ######################################################################
-url=""
+url="http://jaist.dl.sourceforge.net/sourceforge/rxvt/rxvt-2.7.10.tar.gz
+    ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/rxvt/rxvt-2.7.10-utempter.patch.gz"
 verify=
 digest=
 branch=
 commitid=
-pkgbase=
-vers=
+pkgbase=rxvt
+vers=2.7.10
 arch=`uname -m`
-build=P1
+build=P5
 src=$pkgbase-$vers
-patchfiles=""
-OPT_CONFIG=""
-DOCS="README"
+patchfiles="rxvt-2.7.10-utempter.patch.gz"
+OPT_CONFIG="--enable-languages --enable-utmp --enable-wtmp
+    --enable-xpm-background --enable-transparency --enable-menubar
+    --enable-graphics --enable-rxvt-scroll --enable-next-scroll
+    --enable-xterm-scroll --enable-xim --enable-xgetdefault
+    --enable-frills --enable-linespace --enable-24bit
+    --enable-keepscrolling --enable-mousewheel --enable-slipwheeling
+    --enable-old-selection"
+DOCS="ChangeLog README.configure INSTALL"
 template=20180815
 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin
 ######################################################################
@@ -37,6 +44,9 @@
     if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]}
   done
   apply_patches
+  cd $B
+  cp -p src/feature.h{,.orig}
+  sed -i 's@/X11R6/lib@/share@g' src/feature.h
   for i in `seq 0 $((${#B[@]} - 1))` ; do
     cd ${B[$i]}
     if [ -x configure ] ; then