updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / qnapi / PKGBUILD
blobcc6656936b42afe228da0ff62e7805b54b346a2d
1 # Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
3 pkgname=qnapi
4 pkgver=0.1.6_rc2
5 pkgrel=1
6 pkgdesc="Qt4 client for downloading movie subtitles from NAPI Project"
7 arch=('i686' 'x86_64')
8 url="http://krzemin.iglu.cz/qnapi"
9 license=('GPL')
10 depends=('qt>=4.4' 'p7zip')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver/_/-}.tar.gz")
12 md5sums=('84daa5dea51e8612bda26bdc4361ea62')
14 build() {
15   unset QTDIR
16   cd $srcdir/$pkgname-${pkgver/_/-}
18   sed -i 's!/usr/share/apps/!/opt/kde/share/apps/!' qnapi.pro
19   sed -i 's!/usr/lib/kde4/share/kde4/services/ServiceMenus!/usr/share/kde4/services/ServiceMenus!' qnapi.pro
21   qmake || return 1
22   make || return 1
23   make INSTALL_ROOT=$pkgdir install