#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=xdgmenumaker
pkgver=1.6
pkgrel=03
pkgdesc="A command line tool that generates XDG menus for several window managers"
# Had to rebuild this away from the neglect of Obarun against python or it breaks JWM
url="https://github.com/gapan/$pkgname"
arch=('any')
depends=('python-pyxdg' 'python-gobject' 'gtk3')
optdepends=('txt2tags: for manpages' 'python-pillow: for restricting icon size')
source=("${pkgname}-${pkgver}::https://github.com/gapan/${pkgname}/archive/${pkgver}.tar.gz")

build() {
  cd "$pkgname-$pkgver"
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" PREFIX="/usr" install
}

#---- license gpg-key sha256sums ----

license=('GPL3')

sha256sums=(46192e7e4e25b024c0516d83e8fc2c503dd1ac8e5f8c1998d3e9e4b3cbf8919b) # xdgmenumaker-1.6
