#!/bin/sh MAKEDEPS="make asciidoc xmlto lynx" DEPS="fontconfig libxcb elogind libice" PKG_VER=1.2.3 SOURCE=https://www.x.org/pub/individual/lib/libSM-$PKG_VER.tar.bz2 build () { ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --docdir=/usr/share/doc/libSM-$PKG_VER make } package () { make DESTDIR=$PKG_DEST install }