Files
extra/obmenu-generator/PKGBUILD
2025-06-22 20:39:04 -05:00

22 lines
914 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=obmenu-generator
pkgver=0.91
pkgrel=1
pkgdesc="A fast pipe/static menu generator for the Openbox Window Manager (with icons support)."
url='https://github.com/trizen/obmenu-generator'
arch=('any')
license=('GPL-3')
install=$pkgname.install
depends=('perl>=5.14.0' 'openbox' 'perl-data-dump' 'perl-gtk' 'perl-linux-desktopfiles>=0.25')
optdepends=('perl-file-desktopentry: locale support')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/trizen/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('9829b8cac6464eabec197d9c9c51beefad3619d42e602181d6873ddd1ed1c848a8eeed6ca6495c332fe97e82a55a05e34c42cc3a95b4ff22c9481470a9ea6ef5')
package() {
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "schema.pl" "$pkgdir/etc/xdg/$pkgname/schema.pl"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}