summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a55210afafe7c923f778f5bf4e75a5bc507f4249 (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
# Contributor: ShadowKyogre <shadowkyogre-ala-gmail.com>
# Maintainer: L.G. Sarmiento <Luis.Sarmiento-ala-nuclear.lu.se>
pkgname=artha
pkgver=1.0.3
pkgrel=8
pkgdesc='A free cross-platform English thesaurus based on WordNet'
arch=('i686' 'x86_64')
url="http://artha.sourceforge.net/wiki/index.php/Home"
license=('GPL')
depends=('wordnet-common' 'gtk2' 'dbus-glib')
optdepends=('enchant: spell checking support'
  'libnotify: notification support'
  'aspell-en: to show suggestion with aspell in English')
options=('!emptydirs')
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
sha256sums=('9d792778cd268fcbeaee6500099edea95672dcfed785d805c26ca87a288c2463')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  msg 'patching the Makefile'
  sed -i "200 s/LDFLAGS = /& -Wl,--copy-dt-needed-entries /g" src/Makefile
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR=$pkgdir install
}