blob: 5c0dab54e5d9ddc31f595b8222bd9c4ed1a920c1 (
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
|
# Maintainer (AUR): Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Maintainer: Freemor <freemor@freemor.ca
pkgname=gtkhtml4
_pkgbasename=gtkhtml
pkgver=4.10.0
pkgrel=2
pkgdesc="A lightweight HTML renderer/editor widget for GTK3"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('gtk3' 'enchant' 'iso-codes' 'python')
makedepends=('intltool')
url="http://www.gnome.org"
source=(https://download.gnome.org/sources/$_pkgbasename/${pkgver:0:4}/$_pkgbasename-$pkgver.tar.xz enchant-2.patch)
sha256sums=('ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3'
'2b78f071f7893e19618959443f3775bd435941a37ea9198b2fe72b596c205891')
prepare() {
cd "$_pkgbasename-$pkgver"
patch -Np0 < ../enchant-2.patch
}
build() {
cd "$_pkgbasename-$pkgver"
autoreconf -i
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gtkhtml4 \
--localstatedir=/var --disable-static
make
}
package() {
cd "$_pkgbasename-$pkgver"
make DESTDIR="$pkgdir" install
}
|