[arch-commits] Commit in bsdiff/repos/community-x86_64 (4 files)

Kyle Keen kkeen at archlinux.org
Fri Jun 1 03:48:23 UTC 2018


    Date: Friday, June 1, 2018 @ 03:48:22
  Author: kkeen
Revision: 335382

archrelease: copy trunk to community-x86_64

Added:
  bsdiff/repos/community-x86_64/Makefile.patch
    (from rev 335381, bsdiff/trunk/Makefile.patch)
  bsdiff/repos/community-x86_64/PKGBUILD
    (from rev 335381, bsdiff/trunk/PKGBUILD)
Deleted:
  bsdiff/repos/community-x86_64/Makefile.patch
  bsdiff/repos/community-x86_64/PKGBUILD

----------------+
 Makefile.patch |   50 ++++++++++++++++++++++-----------------------
 PKGBUILD       |   61 ++++++++++++++++++++++++++++---------------------------
 2 files changed, 57 insertions(+), 54 deletions(-)

Deleted: Makefile.patch
===================================================================
--- Makefile.patch	2018-06-01 03:48:00 UTC (rev 335381)
+++ Makefile.patch	2018-06-01 03:48:22 UTC (rev 335382)
@@ -1,25 +0,0 @@
---- 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

Copied: bsdiff/repos/community-x86_64/Makefile.patch (from rev 335381, bsdiff/trunk/Makefile.patch)
===================================================================
--- Makefile.patch	                        (rev 0)
+++ Makefile.patch	2018-06-01 03:48:22 UTC (rev 335382)
@@ -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}/share/man/man1/bsdiff.1
++	${INSTALL_MAN} bspatch.1 ${PREFIX}/share/man/man1/bspatch.1

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-01 03:48:00 UTC (rev 335381)
+++ PKGBUILD	2018-06-01 03:48:22 UTC (rev 335382)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=bsdiff
-pkgver=4.3
-pkgrel=8
-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
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make PREFIX=${pkgdir}/usr install
-  mkdir -p $pkgdir/usr/share/licenses/$pkgname
-  mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man/
-  head -n 26 bsdiff.c >$pkgdir/usr/share/licenses/$pkgname/license
-}

Copied: bsdiff/repos/community-x86_64/PKGBUILD (from rev 335381, bsdiff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-01 03:48:22 UTC (rev 335382)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=bsdiff
+pkgver=4.3
+pkgrel=9
+pkgdesc="bsdiff and bspatch are tools for building and applying patches to binary files."
+url="http://www.daemonology.net/bsdiff/"
+license=('BSD')
+arch=('x86_64')
+depends=('bzip2')
+source=("http://www.daemonology.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+	Makefile.patch)
+md5sums=('e6d812394f0e0ecc8d5df255aa1db22a'
+         'f176d14d39c5784a2c824f6797544f4b')
+
+prepare() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  patch -p0 < ../Makefile.patch
+}
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make PREFIX="$pkgdir/usr" install
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  head -n 26 bsdiff.c >"$pkgdir/usr/share/licenses/$pkgname/license"
+}



More information about the arch-commits mailing list