diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/bsdiff | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/bsdiff')
-rw-r--r-- | community/bsdiff/Makefile.patch | 25 | ||||
-rw-r--r-- | community/bsdiff/PKGBUILD | 24 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community/bsdiff/Makefile.patch b/community/bsdiff/Makefile.patch new file mode 100644 index 000000000..b2a3ffa82 --- /dev/null +++ b/community/bsdiff/Makefile.patch @@ -0,0 +1,25 @@ +--- Makefile.old 2005-08-17 00:14:10.000000000 +0200 ++++ Makefile 2007-09-15 12:32:07.000000000 +0200 +@@ -1,15 +1,16 @@ + CFLAGS += -O3 -lbz2 + + PREFIX ?= /usr/local +-INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555 +-INSTALL_MAN ?= ${INSTALL} -c -m 444 ++INSTALL = /bin/install ++INSTALL_PROGRAM ?= ${INSTALL} -D -m755 ++INSTALL_MAN ?= ${INSTALL} -D -m644 + + all: bsdiff bspatch + bsdiff: bsdiff.c + bspatch: bspatch.c + + install: +- ${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin +-.ifndef WITHOUT_MAN +- ${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1 +-.endif ++ ${INSTALL_PROGRAM} bsdiff ${PREFIX}/bin/bsdiff ++ ${INSTALL_PROGRAM} bspatch ${PREFIX}/bin/bspatch ++ ${INSTALL_MAN} bsdiff.1 ${PREFIX}/man/man1/bsdiff.1 ++ ${INSTALL_MAN} bspatch.1 ${PREFIX}/man/man1/bspatch.1 diff --git a/community/bsdiff/PKGBUILD b/community/bsdiff/PKGBUILD new file mode 100644 index 000000000..c7fedfdc4 --- /dev/null +++ b/community/bsdiff/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 65062 2012-02-20 02:39:03Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=bsdiff +pkgver=4.3 +pkgrel=7 +pkgdesc="bsdiff and bspatch are tools for building and applying patches to binary files." +url="http://www.daemonology.net/bsdiff/" +license=('BSD') +arch=('i686' 'x86_64') +depends=('bzip2') +source=(http://www.daemonology.net/${pkgname}/${pkgname}-${pkgver}.tar.gz + Makefile.patch) +md5sums=('e6d812394f0e0ecc8d5df255aa1db22a' + '87ec6120b2e2d38da5a67821af6ac356') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -p0 < ../Makefile.patch + make + make PREFIX=${pkgdir}/usr install + mkdir -p $pkgdir/usr/share + mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man/ +} |