summaryrefslogtreecommitdiff
path: root/community/checkinstall
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-29 01:29:52 -0700
committerroot <root@rshg054.dnsready.net>2013-05-29 01:29:52 -0700
commitd267e861074512027414df29d18d9824e0faae8f (patch)
tree770bb482bb715a84eab76bfbfa1b748d31a13541 /community/checkinstall
parent72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (diff)
Wed May 29 01:29:24 PDT 2013
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 f5bebd03e..31f879e1c 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
+pkgrel=3
pkgdesc="spy for 'make install' and build rpm or deb"
arch=('i686' 'x86_64')
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