makedepends=(gtk3 intltool)

description="Light picture Viewer for lxde."
url="http://lxde.org/"

maintainer="rems"
packager="Grat-OS Team"

name=lxde-gpicview
alias=(gpicview)
_name=gpicview
version=0.3.1
release=2
 
PKGMK_KEEP_SOURCES=no 

source=(https://github.com/lxde/${_name}/archive/refs/tags/$version.tar.gz)

prepare() {

  cd $_name-$version

  sed -i '/^Categories=/ s/Utility;//' gpicview.desktop.in
  
}

build() {

  cd $_name-$version

  autoreconf -fiv
  ./configure --sysconfdir=/etc \
              --prefix=/usr \
              --enable-gtk3

  make
  make DESTDIR=$PKG install
}
