summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55e5678a673c3dbbf1b9568bf6291b11349f4391 (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=7
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")
md5sums=('9bc69f5666a1f494e21a0a0add9ebb16')

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
}