summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64b63762db314283bbcd75963d4b55b2c04bb43e (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
36
37
38
39
40
41
42
43
# Maintainer: Christian Hesse <mail@eworm.de>
# Contributor: Steven Allen <steven@stebalien.com>
# Contributor: trile7 at gmail dot com
# Contributor: Ernia <monghitri@aruba.it>

pkgname=yad-gtk2
epoch=1
pkgver=0.42.0
pkgrel=1
pkgdesc='A fork of zenity - display graphical dialogs from shell scripts or command line - for gtk2'
url='https://github.com/v1cont/yad'
arch=('x86_64' 'i686')
license=('GPL3')
depends=('gtk2')
provides=('yad')
conflicts=('yad')
makedepends=('intltool')
source=("${url}/archive/v${pkgver}.tar.gz")
sha512sums=('700b11f449b63ec1bc8fecf0d2df3ed18bc7078472de0f3ee034c28e3e096eb61559529cc094c76fc8a9959bbb3e5f159d621ad9739d857b0d9b8d7ff386deaa')

build() {
	cd "${srcdir}/${pkgname%-gtk2}-${pkgver}"

	autoreconf -ivf
	intltoolize
	./configure \
		--prefix=/usr \
		--with-gtk=gtk2 \
		--disable-icon-browser \
		--disable-html \
		--enable-gio \
		--enable-spell \
		--enable-sourceview

	make
}

package() {
	cd "${srcdir}/${pkgname%-gtk2}-${pkgver}"

	make DESTDIR="${pkgdir}" install
}