# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xclipboard
version=1.1.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xclipboard-$version.tar.bz2"
desc="X clipboard manager"
requires="libxt libxmu libx11 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="
6db9c329e771f1e3f61576e914e6504e02dd183e813003dd9ae78d4f8d952c30cfe4ddac452690c239b5af46a7b51a8b6a681a93e64fe1a285910ad45fdebc23  xclipboard-1.1.3.tar.lz
"
