# SHORT DESC: AfterStep Terminal
# LONG DESC: aterm (Afterstep TERM) is an xterm replacement, based on rxvt v.2.4.8. It includes features such as NeXT style scrollbar, resource efficient pseudo-transparency. It understands root background changes by AfterStep Pager and Esetroot. The primary goal of aterm is to provide cool visual features without resource consumption.
if [ "${pkgver}" = "1.00beta2" ]; then
cat <<EOF > patch-00
--- aterm-1.00.beta2.orig/src/main.c 2005-01-19 13:31:19.000000000 -0600
+++ aterm-1.00.beta2/src/main.c 2005-01-20 17:11:54.000000000 -0600
@@ -52,6 +52,7 @@
void DeadPipe( int unused )
{
}
+#else
Atom _XA_MwmAtom = None;
#endif
EOF
patch -p1 < patch-00
fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir="$libdir" && \
make && \
make install || exit 1
# Sanity check
ls -l /usr/bin/aterm
|