updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / qonjugator / PKGBUILD
blob4635fbffe88b43294b94ecfe2cf289f6cbeb5bf1
1 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
3 pkgname=qonjugator
4 pkgver=0.17
5 pkgrel=1
6 pkgdesc="Software which allows the user to conjugate verbs in different languages."
7 arch=('i686' 'x86_64')
8 url="http://kde-look.org/content/show.php/Qonjugator?content=112576"
9 license=('GPL')
10 depends=('kdelibs>=4.3.0' 'qt>=4.7.0')
11 makedepends=('cmake')
12 install=qonjugator.install
13 source=(http://www.opendesktop.org/CONTENT/content-files/112575-${pkgname}-${pkgver}.tar.bz2)
14 md5sums=('5225974e0147bb93f84c4e33141cbfbb')
16 build()
18   cd $pkgname-$pkgver || return 1
20   mkdir build || return 1
21   cd build || return 1
22   cmake -DCMAKE_INSTALL_PREFIX="/usr" .. || return 1
23   make VERBOSE=1 || return 1
26 package()
28   cd $pkgname-$pkgver/build
30   make install DESTDIR="$pkgdir" || return 1
31   cd .. || return 1
33   for _pic in 22 128; do
34     install -Dm0644 ${pkgname}gui/images/${pkgname}-${_pic}.png \
35       "$pkgdir"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/$pkgname.png || return 1
36   done