File PKGBUILD of Package gtkspell
pkgname=gtkspell
pkgver=2.0.16
pkgrel=12
pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
arch=('x86_64')
url="http://gtkspell.sourceforge.net/"
license=('GPL')
depends=('bubblewrap' 'gtk2' 'enchant')
makedepends=('intltool' 'gtk-doc')
source=("https://downloads.sourceforge.net/sourceforge/gtkspell/${pkgname}-${pkgver}.tar.gz"
'enchant-2.diff')
sha1sums=('49a3eaff850d119a94fc929635270f01e87cdca1'
'SKIP')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../enchant-2.diff
gtkdocize
autoreconf -fvi
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: