jobextra/yad/PKGBUILD
2023-08-30 09:05:17 +03:00

53 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/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=yad
pkgver=13.0
pkgrel=02 # rebuilt due to libicu
pkgdesc='A fork of zenity - display graphical dialogs from shell scripts or command line'
url='https://github.com/v1cont/yad'
depends=('gtk3' 'webkit2gtk' 'gtksourceview3' 'gspell')
makedepends=('autoconf' 'automake' 'intltool')
source=("https://github.com/v1cont/yad/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoreconf -ivf
intltoolize
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--enable-icon-browser \
--enable-html \
--enable-gio \
--enable-spell \
--enable-sourceview
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
sha256sums=(194198c4a58e20ceffd9a3206633c3726d962d7d4219edb77aeb748897403e34) # yad-13.0.tar.xz
## 2380439fb2fd3577a4cb502a16e5c18a9a0aaad4916e48700909ed22d9c8c5f6 yad-13.0-02-x86_64.pkg.tar.lz