# Maintainer: PktSurf <smlinux@pktsurf.in>
app=imake
version=1.0.8
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/util/imake-$version.tar.gz"
desc="X.Org imake program and related utilities"
requires="perl xorgproto xorg-macros"

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="
a25f7c95336beab7717309c4ac81bb20a073aa2305c169760a64c06ee5956cdcfe79440c49ba1091a124bf26094c85c0f9c21861d2827d9d475a3a5c2de55ad9  imake-1.0.8.tar.lz
"
