jobcore/dialog/PKGBUILD
2024-07-01 13:37:54 +03:00

46 lines
1.3 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_20240619
pkgrel=02
epoch=1
pkgdesc="A tool to display dialog boxes from shell scripts"
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
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('LGPL2.1')
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas E. Dickey (self-signed w/o SHA1) <dickey@invisible-island.net>
sha256sums=(5d8c4318963db3fd383525340276e0e05ee3dea9a6686c20779f5433b199547d # dialog-1.3-20240619.tgz
8cfde7e8919f5524e6932900119054c17596a258e00a4e5f20f860779433023a) # dialog-1.3-20240619.tgz.asc
## 960fcdce23862393cd32151c43cad560b7aa2728e09ffdbf793f5f315724e1a8 dialog-1_1.3_20240619-02-x86_64.pkg.tar.lz