updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / qgoogletranslator / PKGBUILD
blob5d24b1fb45dd9bb09640fe5f0a950b4ca55296bf
1 #Maintainer: karnath <karnathtorjian@gmail.com>
3 pkgname=qgoogletranslator
4 pkgver=1.2.1
5 pkgrel=1
6 pkgdesc="Translates text via Google Translate engine"
7 arch=('i686' 'x86_64')
8 license=('GPL3')
9 depends=('qt>=4.6.0')
10 makedepends=('cmake' 'make')
11 url="http://code.google.com/p/qgt"
12 source=("http://qgt.googlecode.com/files/qgoogletranslator-1.2.1.tar.bz2")
13 md5sums=('52ef74f20213dc660e9482abab221a4c')
14 provides=("qgoogletranslate")
15 conflicts=("qgoogletranslate") 
17 build() {
18     cd "$srcdir/${pkgname}-${pkgver}"
19     cmake . -DCMAKE_INSTALL_PREFIX=/usr  || return 1
20     make || return 1
23 package() {
24     cd "$srcdir/${pkgname}-${pkgver}"
25     make DESTDIR=$pkgdir install || return 1