44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
#!/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=obmenu-generator
|
|
pkgdesc="A fast pipe/static menu generator for the Openbox Window Manager (with icons support)."
|
|
pkgver=0.90
|
|
pkgrel=03
|
|
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=(75a871345cf1d1835698494e40e59bf19457f0261aa6b2d94b609f6e250afd19) # obmenu-generator-0.90.tar.gz
|