updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kmozillahelper / PKGBUILD
blob91243191cbcc465e82c5c94f8a5e081ecc954989
1 pkgname=kmozillahelper
2 pkgver=0.6.3
3 pkgrel=2
4 pkgdesc="Mozilla KDE Integration"
5 url="http://download.opensuse.org/repositories/home:/bgmerrell:/MozillaFirefox3_5_5/openSUSE_11.2/"
6 arch=("i686" "x86_64")
7 license=("MIT License (or similar)")
8 depends=("kdebase-workspace")
9 makedepends=("cmake" "automoc4")
11 source=(${pkgname}-${pkgver}.tar.bz2 fix_local.patch)
13 build() {
14         cd $srcdir/${pkgname}
16     patch -i $srcdir/fix_local.patch -p0 || return 1
18         mkdir -p $srcdir/${pkgname}-build
19         cd $srcdir/${pkgname}-build
21         cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../${pkgname}
22         make || return 1
25 package() {
26         cd $srcdir/${pkgname}-build
27         make DESTDIR=$pkgdir install
29 md5sums=('99ea5e0a723ab7f8f232df7f23b0bd3b'
30          '3d62aca94f7fdccc4e332e6d0f1d9a87')