updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / kccmp / PKGBUILD
blobe9c420d2e149611f569c90df62bd920c7b398972
1 # Maintainer: Alexander De Sousa <<archaur.xandy21@spamgourmet.com>>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: Paulo Freire <paulofreire gmail com>
5 pkgname=kccmp
6 pkgver=0.2
7 pkgrel=2
8 pkgdesc="A simple tool for comparing two linux kernel .config files."
9 arch=('i686' 'x86_64')
10 url="http://stoopidsimple.com/kccmp/"
11 license=('GPL2')
12 depends=('qt' 'boost')
13 source=(http://stoopidsimple.com/files/$pkgname-$pkgver.tar.gz
14         qt4_and_release.patch)
15 md5sums=('f72784dd107c40995ef93f29173d96fe'
16          '3339e0a028d79f3f0c9f574600e3c9e7')
17 sha1sums=('f8a1fb76cf596f6b770722f3e7b25e00c2c59d3e'
18           '0baf4edecc534499d16f9ae812f57ad783f34980')
20 build() {
21         cd $srcdir/$pkgname-$pkgver
22         msg2 "Applying patch to use Qt4 instead of Qt3..."
23         patch -Nsp1 -i ../qt4_and_release.patch
24         msg2 "Building..."
25         qmake
26         make -s
29 package() {
30         cd $srcdir/$pkgname-$pkgver
31         install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
34 # vim: set ft=sh ts=3 sw=3 tw=0: