app=gparted
version=1.1.0
build=1sml
homepage="http://gparted.org"
download="https://sourceforge.net/projects/gparted/files/gparted/gparted-1.1.0/gparted-1.1.0.tar.gz"
desc="Graphical partition editor written in GTK3"
requires="pkgconf lvm dosfstools e2fsprogs mtools ntfs-3g itstool intltool parted gtkmm3 "

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --sbindir=/bin \
    --disable-doc

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
b5f0d8d216f663f686d41347dc9dd1dbe370e25d2e9f321e6a109630aa9ba2a20ffb19dbccf5af1b701fb65d15c297033894583661bd66e88b8cbe84dd793453  gparted-1.1.0.tar.lz
"
