diff options
Diffstat (limited to 'gtkspell/Pkgfile')
-rw-r--r-- | gtkspell/Pkgfile | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/gtkspell/Pkgfile b/gtkspell/Pkgfile index 98908274b..0755bea1c 100644 --- a/gtkspell/Pkgfile +++ b/gtkspell/Pkgfile @@ -2,19 +2,31 @@ # URL: http://gtkspell.sourceforge.net/ # Packager: thierryn1 at hispeed dot ch # Maintainer: NuTyX core team -# Depends on: gtk, aspell, enchant, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama -# Run on: gtk,aspell,enchant +# Depends on: gtk, gtk3, aspell, enchant, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama +# Run on: gtk,gtk3,aspell,enchant name=gtkspell version=2.0.16 -release=1 -source=(http://gtkspell.sourceforge.net/download/$name-$version.tar.gz) +release=2 +source=(http://gtkspell.sourceforge.net/download/$name-$version.tar.gz + gtk3_support.patch) build() { -cd $name-$version -./configure --prefix=/usr -make -make DESTDIR=$PKG install -rm -rf $PKG/usr/share/gtk-doc + cd $name-$version + + patch -p1 < ../gtk3_support.patch + autoreconf -fi + + ./configure --prefix=/usr \ + --with-gtk=2 + make + make DESTDIR=$PKG install + + make clean + ./configure --prefix=/usr \ + --with-gtk=3 + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share/gtk-doc } - |