app=xclock
version=1.0.9
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xclock-$version.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
"
