APP=xclock
VERSION=1.0.9
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/xclock-1.0.9.tar.bz2"
DESC="X clock"
REQUIRES="netbsd-curses expat e2fsprogs freetype fontconfig libxcb libxpm libice libxkbfile libxft libxaw"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
   --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
6fdacfc4a909b27047e8a072a6527c05318d5d1d5a53b091276723e5824ff2774f23945ef1242a2dd4b3400f8b04c1c925b08a9669f93581ef7c9e3f96fcea9c  xclock-1.0.9.tar.xz
"
