#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=obmenu-generator pkgdesc="A fast pipe/static menu generator for the Openbox Window Manager (with icons support)." pkgver=0.91 pkgrel=02 url="https://github.com/trizen/" arch=('any') depends=('perl>=5.14.0' 'openbox-patched' 'perl-data-dump' 'perl-linux-desktopfiles>=0.25' 'perl-gtk3') optdepends=( 'gtk2-perl: support for icons' 'perl-gtk3: support for icons (with use_gtk3 = 1)' 'perl-file-desktopentry: locale support' ) #source=("${pkgname}-${pkgver}.tar.gz::https://github.com/trizen/${pkgname}/archive/${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::${url}${pkgname}/archive/${pkgver}.tar.gz") package() { cd "$pkgname-$pkgver" install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" install -Dm644 "schema.pl" "$pkgdir/etc/xdg/$pkgname/schema.pl" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } post_install() { echo -e "\n:: The schema file has been installed as: /etc/xdg/obmenu-generator/schema.pl\n" } post_upgrade() { post_install } #---- license gpg-key sha256sums ---- license=('GPL3') sha256sums=(b606f30d98138de8fb51568efa6d14d545777399ccea61a5921413284f9b4335) # obmenu-generator-0.91.tar.gz