[arch-commits] Commit in upx/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Mar 24 21:26:18 UTC 2020
Date: Tuesday, March 24, 2020 @ 21:26:17
Author: arodseth
Revision: 603928
archrelease: copy trunk to community-x86_64
Added:
upx/repos/community-x86_64/PKGBUILD
(from rev 603927, upx/trunk/PKGBUILD)
Deleted:
upx/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 41 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-24 21:26:09 UTC (rev 603927)
+++ PKGBUILD 2020-03-24 21:26:17 UTC (rev 603928)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: bekks <eduard.warkentin at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=upx
-pkgver=3.96
-pkgrel=1
-pkgdesc='Extendable, high-performance executable packer for several executable formats'
-arch=(x86_64)
-url='https://github.com/upx/upx'
-license=(GPL2 custom)
-depends=(git ucl)
-makedepends=(perl)
-source=("git+$url#commit=d7ba31cab8ce8d95d2c10e88d2ec787ac52005ef") # v3.96
-sha256sums=('SKIP')
-
-prepare() {
- cd "$pkgname"
- git submodule update --init --recursive
-}
-
-build() {
- make -C "$pkgname" \
- UPX_LZMA_VERSION=0x465 \
- UPX_LZMADIR="$srcdir" \
- CHECK_WHITESPACE=/bin/true \
- all
-}
-
-package() {
- cd "$pkgname"
- install -Dm755 src/upx.out "$pkgdir/usr/bin/upx"
- install -Dm644 doc/upx.1 "$pkgdir/usr/share/man/man1/upx.1"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: upx/repos/community-x86_64/PKGBUILD (from rev 603927, upx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-24 21:26:17 UTC (rev 603928)
@@ -0,0 +1,41 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: bekks <eduard.warkentin at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=upx
+pkgver=3.96
+pkgrel=2
+pkgdesc='Extendable, high-performance executable packer for several executable formats'
+arch=(x86_64)
+url='https://github.com/upx/upx'
+license=(custom GPL2)
+depends=(ucl)
+makedepends=(git perl)
+source=("git+$url#commit=d7ba31cab8ce8d95d2c10e88d2ec787ac52005ef") # v3.96
+sha256sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+ git submodule update --init --recursive
+ # Disable a warning. upx believes this is not a release version if the git revision is set.
+ sed -i 's/bool warn = true/bool warn = false/' src/main.cpp
+}
+
+build() {
+ make -C $pkgname \
+ CHECK_WHITESPACE=/bin/true \
+ UPX_LZMA_VERSION=0x465 \
+ UPX_LZMADIR="$srcdir" \
+ all
+}
+
+package() {
+ cd $pkgname
+ install -Dm755 src/upx.out "$pkgdir/usr/bin/upx"
+ install -Dm644 doc/upx.1 "$pkgdir/usr/share/man/man1/upx.1"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list