Browse Source

[trunk] -> [community] 'gtkspell3-3.0.10-2' add

master
Dudemanguy 1 year ago
parent
commit
54f2d9e0f4
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 30
      gtkspell3/trunk/PKGBUILD
  2. 30
      gtkspell3/x86_64/community/PKGBUILD

30
gtkspell3/trunk/PKGBUILD

@ -0,0 +1,30 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=gtkspell3
pkgver=3.0.10
pkgrel=2
url="http://gtkspell.sourceforge.net/"
pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
arch=('x86_64')
license=('GPL')
depends=('gtk3' 'enchant')
makedepends=('intltool' 'gobject-introspection' 'vala')
source=(https://downloads.sourceforge.net/gtkspell/$pkgname-$pkgver.tar.xz)
sha256sums=('b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}

30
gtkspell3/x86_64/community/PKGBUILD

@ -0,0 +1,30 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=gtkspell3
pkgver=3.0.10
pkgrel=2
url="http://gtkspell.sourceforge.net/"
pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
arch=('x86_64')
license=('GPL')
depends=('gtk3' 'enchant')
makedepends=('intltool' 'gobject-introspection' 'vala')
source=(https://downloads.sourceforge.net/gtkspell/$pkgname-$pkgver.tar.xz)
sha256sums=('b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
Loading…
Cancel
Save