# Maintainer: PktSurf <smlinux@pktsurf.in>
app=uget
version=2.2.3
build=1sml
homepage="https://ugetdm.com/"
download="https://sourceforge.net/projects/urlget/files/uget%20%28stable%29/$version/uget-$version-1.tar.gz"
desc="Download manager written in GTK+3"
requires="intltool curl gstreamer gtk3 libnotify"

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="
7b3d717babc010864765221160d5c2d1cd9f524df8f64be840c277a42086c3ab8bba466cdbcd3d8a1873c9a6129724feeb25c9249f26c209cbc57342c9429c97  uget-2.2.3.tar.lz
"
