# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
   --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
d843ab242d5d4de435d17ea18360fc1bda7b9af7c6e69db427ec3686e05f6cfa7205027011b1e55931b4b2d0792bab5f0986ccb7380bce3d537034daf3d1ac72  xclock-1.0.9.tar.lz
"
