jobcore/dialog/PKGBUILD
2022-07-30 22:39:04 +03:00

43 lines
1.2 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/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=dialog
pkgver=1.3_20220728
pkgrel=01
epoch=1
pkgdesc="A tool to display dialog boxes from shell scripts"
arch=('x86_64')
url="https://invisible-island.net/dialog/"
depends=('sh' 'ncurses')
provides=('libdialog.so')
source=(https://invisible-mirror.net/archives/$pkgname/$pkgname-${pkgver/_/-}.tgz{,.asc})
build() {
cd "$srcdir/$pkgname-${pkgver/_/-}"
./configure \
--prefix=/usr \
--enable-nls \
--with-libtool \
--with-ncursesw
make
}
package() {
cd "$srcdir/$pkgname-${pkgver/_/-}"
make DESTDIR="$pkgdir" install-full
}
#---- license gpg-key sha256sums ----
license=('LGPL2.1')
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas E. Dickey (self-signed w/o SHA1) <dickey@invisible-island.net>
sha256sums=(54418973d559a461b00695fafe68df62f2bc73d506b436821d77ca3df454190b # dialog-1.3-20220728.tgz
975e7f855eae69e9f8470ea575eebf572b751bbc89e0415118d84b849700fb93) # dialog-1.3-20220728.tgz.asc