updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / tagainijisho / PKGBUILD
blobd01e623a6baeb8efacd1cd24dbbc669ad48510f6
1 # Contributor: Kristian Setälä <kristian.setala@gmail.com>
3 pkgname=tagainijisho
4 pkgver=0.9.2
5 pkgrel=1
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_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: