updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / google-translate-runner / PKGBUILD
blobc1705f560af39c7bd39810aa69391c75c52af939
1 # Maintainer: Dan Vratil <vratil@progdansoft.com>
3 pkgname=google-translate-runner
4 pkgver=0.0.3
5 pkgrel=1
6 pkgdesc="Simple plasma runner using google translate service"
7 url=('http://www.kde-apps.org/content/show.php?content=105459')
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('kdebase-workspace>=4.3' 'qjson')
11 makedepends=('cmake')
12 source=(http://www.kde-apps.org/CONTENT/content-files/105459-googletranslaterunner-${pkgver}.tar.bz);
13 md5sums=('56e66eaf85c1b9685b3d8bbfd37aaa7d')
16 build() {
17   cd ${srcdir}
18   if [ ! -d build ]; then
19     mkdir build
20   fi
21   cd build
22   cmake -DCMAKE_INSTALL_PREFIX=/usr ../googletranslaterunner
23   make
26 package() {
27   cd ${srcdir}/build
28   make DESTDIR=${pkgdir} install