From eec5eb4b1f676176daff9a12a6d99521313714c0 Mon Sep 17 00:00:00 2001 From: Joe Bo Run Date: Tue, 13 Dec 2022 22:08:43 +0200 Subject: [PATCH] upg psmisc libmpc --- libmpc/PKGBUILD | 17 ++++++++++++----- libmpc/PKGBUILD-arch | 23 +++++++++++++++-------- libmpc/deps | 1 - psmisc/PKGBUILD | 11 +++++++---- psmisc/PKGBUILD-arch | 8 +++++--- psmisc/clean | 2 +- psmisc/deps | 1 - psmisc/key | 1 + 8 files changed, 41 insertions(+), 23 deletions(-) create mode 100644 psmisc/key diff --git a/libmpc/PKGBUILD b/libmpc/PKGBUILD index ad84d4f..1b98c57 100644 --- a/libmpc/PKGBUILD +++ b/libmpc/PKGBUILD @@ -1,17 +1,24 @@ #!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit -# Maintainer : Joe Bo Run +# Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" +# Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=libmpc pkgver=1.3.0 -pkgrel=01 +pkgrel=02 pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision" arch=('x86_64') url="http://www.multiprecision.org/" depends=('mpfr') -source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig}) +source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig} + mpc-fix-includes.patch) + +prepare() { + cd mpc-$pkgver + patch -p1 < ../mpc-fix-includes.patch # Fix build of gcc +} build() { cd mpc-$pkgver @@ -37,6 +44,6 @@ license=('LGPL') validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3') # Andreas Enge sha256sums=(0e3b12181d37207230f5a7a7ddcfc22abfc5fc9c05825e1a65401a489a432a2a # mpc-1.3.0.tar.gz - 07ebe32c185dfdabc742e9c84e39d1481e06771b665f4d55a9a5ccf355f6e3ca) # mpc-1.3.0.tar.gz.sig - + 07ebe32c185dfdabc742e9c84e39d1481e06771b665f4d55a9a5ccf355f6e3ca # mpc-1.3.0.tar.gz.sig + 998032f3a42a6774970464ad7a8dd47d028b5da601dbe11c7853485a1dc85509) # mpc-fix-includes.patch diff --git a/libmpc/PKGBUILD-arch b/libmpc/PKGBUILD-arch index 7930d8e..e3ddfe7 100644 --- a/libmpc/PKGBUILD-arch +++ b/libmpc/PKGBUILD-arch @@ -3,17 +3,24 @@ pkgname=libmpc pkgver=1.3.0 -pkgrel=1 -pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision" -arch=('x86_64') -url="http://www.multiprecision.org/" -license=('LGPL') -depends=('mpfr') -source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig}) +pkgrel=2 +pkgdesc='Library for the arithmetic of complex numbers with arbitrarily high precision' +arch=(x86_64) +url='http://www.multiprecision.org/' +license=(LGPL) +depends=(mpfr) +source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig} + mpc-fix-includes.patch) sha256sums=('0e3b12181d37207230f5a7a7ddcfc22abfc5fc9c05825e1a65401a489a432a2a' - 'SKIP') + 'SKIP' + '998032f3a42a6774970464ad7a8dd47d028b5da601dbe11c7853485a1dc85509') validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3') # Andreas Enge +prepare() { + cd mpc-$pkgver + patch -p1 < ../mpc-fix-includes.patch # Fix build of gcc +} + build() { cd mpc-$pkgver ./configure --prefix=/usr diff --git a/libmpc/deps b/libmpc/deps index b28b04f..139597f 100644 --- a/libmpc/deps +++ b/libmpc/deps @@ -1,3 +1,2 @@ - diff --git a/psmisc/PKGBUILD b/psmisc/PKGBUILD index 7083469..f796d27 100644 --- a/psmisc/PKGBUILD +++ b/psmisc/PKGBUILD @@ -6,15 +6,14 @@ #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=psmisc -pkgver=23.5 +pkgver=23.6 pkgrel=01 pkgdesc='Miscellaneous procfs tools' arch=('x86_64') url='https://gitlab.com/psmisc/psmisc' depends=('ncurses') #options=('debug') ## uncomment this to have the debug package created -source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz") - +source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz"{,.asc}) build() { cd ${pkgname}-${pkgver} @@ -33,4 +32,8 @@ package() { license=('GPL') -sha256sums=(dc37ecc2f7e4a90a94956accc6e1c77adb71316b7c9cbd39b26738db0c3ae58b) # psmisc-23.5.tar.xz +validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small + +sha256sums=(257dde06159a4c49223d06f1cccbeb68933a4514fc8f1d77c64b54f0d108822a # psmisc-23.6.tar.xz + 0934df9150ef02cf5db7bcf7671faa35b0d1db14fd524c0af42ec669830411d0) # psmisc-23.6.tar.xz.asc + diff --git a/psmisc/PKGBUILD-arch b/psmisc/PKGBUILD-arch index 027626f..60324d6 100644 --- a/psmisc/PKGBUILD-arch +++ b/psmisc/PKGBUILD-arch @@ -1,7 +1,7 @@ # Maintainer: Eric BĂ©langer pkgname=psmisc -pkgver=23.5 +pkgver=23.6 pkgrel=1 pkgdesc='Miscellaneous procfs tools' arch=('x86_64') @@ -9,8 +9,10 @@ url='https://gitlab.com/psmisc/psmisc' license=('GPL') depends=('ncurses') options=('debug') -source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz") -sha256sums=('dc37ecc2f7e4a90a94956accc6e1c77adb71316b7c9cbd39b26738db0c3ae58b') +validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small +source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz"{,.asc}) +sha256sums=('257dde06159a4c49223d06f1cccbeb68933a4514fc8f1d77c64b54f0d108822a' + 'SKIP') build() { cd ${pkgname}-${pkgver} diff --git a/psmisc/clean b/psmisc/clean index 9021a46..e02a14a 100644 --- a/psmisc/clean +++ b/psmisc/clean @@ -1 +1 @@ -rm -rvf {src,pkg,psm*xz} +rm -rvf {src,pkg,psm*xz*} diff --git a/psmisc/deps b/psmisc/deps index b28b04f..139597f 100644 --- a/psmisc/deps +++ b/psmisc/deps @@ -1,3 +1,2 @@ - diff --git a/psmisc/key b/psmisc/key new file mode 100644 index 0000000..67d17b4 --- /dev/null +++ b/psmisc/key @@ -0,0 +1 @@ +gpg -v --recv-key 022166C0FF3C84E3