1 # Contributor: Kristian Setälä <kristian.setala@gmail.com>
6 pkgdesc="A Free Japanese dictionary and study assistant"
8 url="http://www.tagaini.net/"
10 depends=('qt>=4.7' 'sqlite3>=3.7.9')
11 makedepends=('cmake>=2.8.1' 'desktop-file-utils')
12 source=(https://github.com/downloads/Gnurou/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('e12ca78a3677685f1d6e89095526d840')
16 cd "$srcdir/$pkgname-$pkgver"
17 CFLAGS=`echo $CFLAGS | sed 's/-ffast-math//'` cmake -DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} -lpthread -ldl" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . || return 1
22 cd "$srcdir/$pkgname-$pkgver"
23 make DESTDIR=$pkgdir install || return 1
25 # vim:set ts=2 sw=2 et: