# Maintainer: PktSurf <smlinux@pktsurf.in>
app=mousepad
version=0.5.8
build=1sml
homepage="https://docs.xfce.org/apps/mousepad/start"
download="https://archive.xfce.org/src/apps/mousepad/0.5/mousepad-$version.tar.bz2"
desc="Fast, easy-to-use text editor for Xfce"
requires="desktop-file-utils gspell"

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="
206054ccfa94e587410c4a90d22d57356c731d52a364f165866f26876848fd78d4a889fd78361fbd6a6a0a6a035e2bc2836739be0f55a5e6b118f69f3f660ba3  mousepad-0.5.8.tar.lz
"
