# $Id: PKGBUILD 65086 2012-02-20 03:34:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=checkinstall
pkgver=1.6.2
pkgrel=2
pkgdesc="spy for 'make install' and build rpm or deb"
arch=('i686' 'x86_64')
url="http://asic-linux.com.mx/~izto/checkinstall/"
license=('GPL')
backup=(etc/checkinstall/checkinstallrc)
source=(http://asic-linux.com.mx/~izto/checkinstall/files/source/$pkgname-$pkgver.tar.gz
	build-fix.patch)
md5sums=('d7b43c92001e68243a93bcce8b1e5480'
         '5c68cb7e29cf6da4b845ce57fb5ea080')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 <../build-fix.patch
  make
  make DESTDIR=$pkgdir install
}
