# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xrdb
version=1.2.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xrdb-$version.tar.bz2"
desc="X server resource database utility"
requires="libxmu libx11"

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="
937c9796b7a4b34b053651c7370591e101d579be58639e7d4be0c9660d6eb5567b8e9e179267d22b5a63b62739a8a1c3a3e0a68057f41a7f432d828cc2b9a66a  xrdb-1.2.1.tar.lz
"
