[arch-commits] Commit in pxz/repos (3 files)

Frederik Schwan freswa at archlinux.org
Mon Jun 29 03:11:24 UTC 2020


    Date: Monday, June 29, 2020 @ 03:11:23
  Author: freswa
Revision: 653313

archrelease: copy trunk to community-x86_64

Added:
  pxz/repos/community-x86_64/
  pxz/repos/community-x86_64/Makefile.patch
    (from rev 653312, pxz/trunk/Makefile.patch)
  pxz/repos/community-x86_64/PKGBUILD
    (from rev 653312, pxz/trunk/PKGBUILD)

----------------+
 Makefile.patch |   11 +++++++++++
 PKGBUILD       |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

Copied: pxz/repos/community-x86_64/Makefile.patch (from rev 653312, pxz/trunk/Makefile.patch)
===================================================================
--- community-x86_64/Makefile.patch	                        (rev 0)
+++ community-x86_64/Makefile.patch	2020-06-29 03:11:23 UTC (rev 653313)
@@ -0,0 +1,11 @@
+--- src/pxz-4.999.9beta/Makefile	2010-04-11 01:54:44.841991802 -0700
++++ src/pxz-4.999.9beta/Makefile.new	2010-04-11 01:55:06.482050429 -0700
+@@ -15,7 +15,7 @@
+ all: $(OBJECTS) $(NAME)
+ 
+ $(NAME): $(SOURCES) $(OBJECTS)
+-	$(CC) $(WARNINGS) $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(NAME).c -o $(NAME)
++	$(CC) $(WARNINGS) $(OBJECTS) $(CFLAGS) $(NAME).c $(LDFLAGS) -o $(NAME)
+ 
+ clean:
+ 	rm -f *.o $(NAME)

Copied: pxz/repos/community-x86_64/PKGBUILD (from rev 653312, pxz/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-06-29 03:11:23 UTC (rev 653313)
@@ -0,0 +1,35 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: jerry73204 <jerry73204 at gmail.com>
+# Contributor: piojo
+
+pkgname=pxz
+pkgver=4.999.9beta.20091201
+_pkgver=4.999.9beta
+pkgrel=6
+pkgdesc='Runs LZMA compression of different parts of an input file on multiple cores and processors simultaneously'
+arch=('x86_64' 'i686')
+url='https://jnovy.fedorapeople.org/pxz/'
+license=('GPL2')
+depends=('xz')
+source=("https://jnovy.fedorapeople.org/$pkgname/$pkgname-${pkgver}git.tar.xz"
+        Makefile.patch)
+b2sums=('e5570c46904cbb8cc637ece1b4451b5d5f79261aa808f39a90bf6fd026603875dffadf85ff16b8dda370d146c85bc93eac8cc533f62dc3c54651e01b3532b80f'
+        '5ccf0a5725d06f410238e9961e028ac7b0637d99c277fa26ae09e7fc02fad683c20da9ada8370e6ac4d991bbbafed70e560bd44008b1c0a58526d9a0517785e9')
+
+prepare() {
+  cd "$pkgname-$_pkgver"
+
+  patch -Np2 -i "$srcdir/Makefile.patch"
+}
+
+build() {
+  cd "$pkgname-$_pkgver"
+
+  make
+}
+
+package() {
+  cd "$pkgname-$_pkgver"
+
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list