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
"
