# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=checkinstall pkgver=1.6.1 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.tgz \ build-fix.patch) md5sums=('1ae49645d6d16efac79ac67b84bfb419' '1320b7785f3b201ef4ff0315a28be3af') build() { cd $startdir/src/$pkgname-$pkgver patch -Np1 <../build-fix.patch make || return 1 make DESTDIR=$startdir/pkg install || return 1 }