summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f712b0a44b0692381f73a720dcb48bf0bfd3d12f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Davide Depau <davide@depau.eu>

_pkgname=easybashgui
pkgname=$_pkgname-git
pkgver=11.0.1.r0.gc7c6c7c
pkgrel=1
pkgdesc="Bash function library to have simple GUIs using dialog, yad, zenity, kdialog, xdialog, gtkdialog"
arch=('any')
depends=('bash')
makedepends=('make')
optdepends=(
    'dialog: ncurses-based TUI dialog'
    'libnewt: whiptail TUI dialog'
    'yad: GTK dialog'
    'gtkdialog: GTK dialog'
    'zenity: GTK dialog'
    'xdialog: GTK dialog'
    'kdialog: KDE/Qt5 dialog'
)
url="https://github.com/BashGui/easybashgui"
license=('GPL3')
source=(${_pkgname}::git+https://github.com/BashGui/easybashgui.git)
sha256sums=('SKIP')
provides=($_pkgname)
conflicts=($_pkgname)

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "$srcdir/${_pkgname}"
  make DESTDIR="$pkgdir" install
}