Date: Wednesday, May 13, 2020 @ 11:11:30 Author: yan12125 Revision: 627598
upgpkg: lxqt-archiver 0.1.1-2; implements FS#66620 and more * Use signed source tarball * Replace unreachable URL * Backport GCC 10 build fix * Remove workarounds for CPPFLAGS; no longer needed after [1] [1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/cmake&id=bb5432e50cec3f3f7dff1fcbaa3446516b3cd23a Modified: lxqt-archiver/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-13 10:00:03 UTC (rev 627597) +++ PKGBUILD 2020-05-13 11:11:30 UTC (rev 627598) @@ -2,21 +2,29 @@ pkgname=lxqt-archiver pkgver=0.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A simple & lightweight desktop-agnostic Qt file archiver" arch=("x86_64") -url="https://lxqt.org" +groups=("lxqt") +url="https://github.com/lxqt/$pkgname" license=("GPL2") depends=('libfm-qt' 'qt5-x11extras' 'glib2' 'json-glib' 'libfm-qt.so') makedepends=('cmake' 'qt5-tools' 'lxqt-build-tools') -source=("https://github.com/lxqt/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('00a967427428951096eb2f4a9b5fc492dde6e7c8405cffc7dc4460f77d7686bd') +source=("https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc} + $pkgname-gcc10.patch::https://github.com/lxqt/lxqt-archiver/commit/caefefb3547b256ead7d7d35820082ec2ab5ceb5.patch) +sha256sums=('32b3e2bead037159b99b4069a53034abb43d31728693b5fa3c8ccbddfaffd316' + 'SKIP' + '1e576b9b242a6e77e15e77bf60406cf7167009e42c65db16909bb8d2bf4f521e') +validpgpkeys=( + "19DFDF3A579BD509DBB572D8BE793007AD22DF7E" # Pedram Pourang <[email protected]> +) +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../$pkgname-gcc10.patch +} + build() { - # Bring in -D_FORTIFY_SOURCE=2 - export CFLAGS+=" $CPPFLAGS" - export CXXLAGS+=" $CPPFLAGS" - cmake -B build -S $pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \
