summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/gtkhtml4/PKGBUILD37
-rw-r--r--pcr/gtkhtml4/enchant-2.patch (renamed from enchant-2.patch)0
2 files changed, 23 insertions, 14 deletions
diff --git a/pcr/gtkhtml4/PKGBUILD b/pcr/gtkhtml4/PKGBUILD
index e6a28cb16..5c0dab54e 100644
--- a/pcr/gtkhtml4/PKGBUILD
+++ b/pcr/gtkhtml4/PKGBUILD
@@ -1,28 +1,37 @@
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-# Previous Maintainer (Arch): Ionut Biru <ibiru@archlinux.org>
+# 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=1
+pkgrel=2
pkgdesc="A lightweight HTML renderer/editor widget for GTK3"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
-depends=('gtk3' 'enchant' 'iso-codes' 'libsoup')
+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)
-sha256sums=('ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3')
+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"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/gtkhtml4 \
- --localstatedir=/var --disable-static
- make
+ 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
+ cd "$_pkgbasename-$pkgver"
+ make DESTDIR="$pkgdir" install
}
+
diff --git a/enchant-2.patch b/pcr/gtkhtml4/enchant-2.patch
index 88a9d2c82..88a9d2c82 100644
--- a/enchant-2.patch
+++ b/pcr/gtkhtml4/enchant-2.patch