summaryrefslogtreecommitdiff
path: root/community/checkinstall
diff options
context:
space:
mode:
Diffstat (limited to 'community/checkinstall')
-rw-r--r--community/checkinstall/PKGBUILD10
-rw-r--r--community/checkinstall/build-fix.patch2
2 files changed, 8 insertions, 4 deletions
diff --git a/community/checkinstall/PKGBUILD b/community/checkinstall/PKGBUILD
index c0ed0cbbc..6cf08ad70 100644
--- a/community/checkinstall/PKGBUILD
+++ b/community/checkinstall/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 65086 2012-02-20 03:34:38Z spupykin $
+# $Id: PKGBUILD 91846 2013-05-28 17:24:53Z 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.1
+pkgrel=3
pkgdesc="spy for 'make install' and build rpm or deb"
arch=('i686' 'x86_64' 'mips64el')
url="http://asic-linux.com.mx/~izto/checkinstall/"
@@ -13,11 +13,15 @@ backup=(etc/checkinstall/checkinstallrc)
source=(http://asic-linux.com.mx/~izto/checkinstall/files/source/$pkgname-$pkgver.tar.gz
build-fix.patch)
md5sums=('d7b43c92001e68243a93bcce8b1e5480'
- '5c68cb7e29cf6da4b845ce57fb5ea080')
+ 'eac0c843781c300e7bc15c55be262e51')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 <../build-fix.patch
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
diff --git a/community/checkinstall/build-fix.patch b/community/checkinstall/build-fix.patch
index 341b7dfca..9ab00cde5 100644
--- a/community/checkinstall/build-fix.patch
+++ b/community/checkinstall/build-fix.patch
@@ -134,7 +134,7 @@ diff -wbBur checkinstall-1.6.2/Makefile checkinstall-1.6.2.my/Makefile
-LCDIR=$(PREFIX)/lib/checkinstall/locale
-CONFDIR=$(PREFIX)/lib/checkinstall
+PREFIX=/usr
-+BINDIR=$(DESTDIR)/$(PREFIX)/sbin
++BINDIR=$(DESTDIR)/$(PREFIX)/bin
+LCDIR=$(DESTDIR)/$(PREFIX)/share/locale
+CONFDIR=$(DESTDIR)/etc/checkinstall