updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tagainijisho / PKGBUILD
blob8b14603f9891d57b16f3739cd9f27264132d5b43
1 # Contributor: Kristian Setälä <kristian.setala@gmail.com>
3 pkgname=tagainijisho
4 pkgver=0.9.2
5 pkgrel=2
6 pkgdesc="A Free Japanese dictionary and study assistant"
7 arch=('i686' 'x86_64')
8 url="http://www.tagaini.net/"
9 license=('GPL3')
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')
15 build() {
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
18   make || return 1
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
23   make DESTDIR=$pkgdir install || return 1
25 # vim:set ts=2 sw=2 et: