upg sqlite xz

This commit is contained in:
joborun linux 2022-10-01 13:50:56 +03:00
parent 7db40f9a06
commit 043d4a37e2
5 changed files with 46 additions and 35 deletions

View file

@ -7,9 +7,9 @@
pkgbase="sqlite"
pkgname=('sqlite' 'sqlite-tcl' 'sqlite-analyzer' 'lemon' 'sqlite-doc')
_srcver=3390300
_srcver=3390400
_docver=${_srcver}
pkgver=3.39.3
pkgver=3.39.4
pkgrel=01
pkgdesc="A C library that implements an SQL database engine"
arch=('x86_64')
@ -151,14 +151,16 @@ package_sqlite-doc() {
license=('custom:Public Domain')
sha256sums=(18c12f2e1da112421173c85c4f8aed43261272c1b0474aa0759288fd30fab9fc # sqlite-src-3390300.zip
587c32fdf3afd9a9998d8ea6bb9c72596003520c88670cf251a95696bf7a500c # sqlite-doc-3390200.zip
sha256sums=(02d96c6ccf811ab9b63919ef717f7e52a450c420e06bd129fb483cd70c3b3bba # sqlite-src-3390400.zip
1c30c23d0ab6fb2302cd5671fefc06c1c6eb37fd6cffab7a58138d9a3a78a22e # sqlite-doc-3390200.zip
55746d93b0df4b349c4aa4f09535746dac3530f9fd6de241c9f38e2c92e8ee97 # sqlite-lemon-system-template.patch
4e57d9ac979f1c9872e69799c2597eeef4c6ce7224f3ede0bf9dc8d217b1e65d) # license.txt
#sha3-256sum *.zip
#sha3-256sums=(a0feba46846ca1cbb74406998aaa637cfec9ead8b32c419a95c23d293bf929b0 # sqlite-src-3390300.zip
# 6be3dd3bdc8c599c2fe25c4113b996f0bc8a9f5cf6d4d8c5928a4fcbf60d86cf) # sqlite-doc-3390300.zip
#cat sha3.sums
#
#sha3-256sums=(fe5febdf5e636a03b8e8fd5df83ed8a080d1e674af04c6f04e7c667ea6d702a6 # sqlite-src-3390400.zip
8e4ea20c876e0d14ce60538faae9d20eb759e474818b002bee1304d716b56adf) # sqlite-doc-3390400.zip
##sqlite-src-3390400.zip (12.78 MiB) Snapshot of the complete (raw) source tree for SQLite version 3.39.4. See How To Compile SQLite for usage details.
##(sha3: fe5febdf5e636a03b8e8fd5df83ed8a080d1e674af04c6f04e7c667ea6d702a6)
##sqlite-doc-3390400.zip (10.35 MiB) Documentation as a bundle of static HTML files.
##(sha3: 8e4ea20c876e0d14ce60538faae9d20eb759e474818b002bee1304d716b56adf)

View file

@ -3,10 +3,10 @@
pkgbase="sqlite"
pkgname=('sqlite' 'sqlite-tcl' 'sqlite-analyzer' 'lemon' 'sqlite-doc')
_srcver=3390300
_srcver=3390400
_docver=${_srcver}
#_docver=3330000
pkgver=3.39.3
pkgver=3.39.4
pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
arch=('x86_64')
@ -19,8 +19,8 @@ source=(https://www.sqlite.org/2022/sqlite-src-${_srcver}.zip
sqlite-lemon-system-template.patch
license.txt)
# upstream now switched to sha3sums - currently not supported by makepkg
sha256sums=('18c12f2e1da112421173c85c4f8aed43261272c1b0474aa0759288fd30fab9fc'
'587c32fdf3afd9a9998d8ea6bb9c72596003520c88670cf251a95696bf7a500c'
sha256sums=('02d96c6ccf811ab9b63919ef717f7e52a450c420e06bd129fb483cd70c3b3bba'
'1c30c23d0ab6fb2302cd5671fefc06c1c6eb37fd6cffab7a58138d9a3a78a22e'
'55746d93b0df4b349c4aa4f09535746dac3530f9fd6de241c9f38e2c92e8ee97'
'4e57d9ac979f1c9872e69799c2597eeef4c6ce7224f3ede0bf9dc8d217b1e65d')

View file

@ -1,6 +1,6 @@
real 3m16.661s
user 2m24.605s
sys 0m4.301s
real 4m1.578s
user 2m50.341s
sys 0m4.766s

View file

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=xz
pkgver=5.2.6
pkgver=5.2.7
pkgrel=01
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
arch=('x86_64')
@ -48,7 +48,9 @@ package() {
license=('GPL' 'LGPL' 'custom')
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620')
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620') # Lasse Collin <lasse.collin@tukaani.org>
sha256sums=(06327c2ddc81e126a6d9a78b0be5014b976a2c0832f492dcfc4755d7facf6d33 # xz-5.2.7.tar.gz
5d6bb3f6cf492e50c93cf70c86576091fbfd3bd516e9b134da8477eac73092c7) # xz-5.2.7.tar.gz.sig
sha256sums=(a2105abee17bcd2ebd15ced31b4f5eda6e17efd6b10f921a01cda4a44c91b3a0 # xz-5.2.6.tar.gz
cc297743b13c15a2eecd5bb77052d86859c0447c7912992f002af691b3ea6ff1) # xz-5.2.6.tar.gz.sig

View file

@ -2,37 +2,44 @@
# Contributor: François Charette <firmicus@gmx.net>
pkgname=xz
pkgver=5.2.6
pkgver=5.2.7
pkgrel=1
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
arch=('x86_64')
url='https://tukaani.org/xz/'
license=('GPL' 'LGPL' 'custom')
depends=('sh')
provides=('liblzma.so')
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620') # Lasse Collin <lasse.collin@tukaani.org>
source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha256sums=('a2105abee17bcd2ebd15ced31b4f5eda6e17efd6b10f921a01cda4a44c91b3a0'
sha256sums=('06327c2ddc81e126a6d9a78b0be5014b976a2c0832f492dcfc4755d7facf6d33'
'SKIP')
sha512sums=('06329fdbd1d897aa99dc96900c6246457288c586d02bb4869a92dd2f97973f95acb3a2fa9598a20613ea029f816836a8e3b65e36fec2b807b5e7553141429ab9'
'SKIP')
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver}"
export CFLAGS="$CFLAGS -Wno-format-truncation"
./configure --prefix=/usr \
--disable-rpath \
--enable-werror
make
./configure \
CFLAGS="$CFLAGS -Wno-format-truncation" \
--prefix=/usr \
--disable-rpath \
--enable-werror
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/licenses/xz/"
ln -sf /usr/share/doc/xz/COPYING "${pkgdir}/usr/share/licenses/xz/"
ln -sf /usr/share/licenses/common/GPL2/license.txt "${pkgdir}/usr/share/doc/xz/COPYING.GPLv2"
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -d -m0755 "${pkgdir}/usr/share/licenses/xz/"
ln -sf /usr/share/doc/xz/COPYING "${pkgdir}/usr/share/licenses/xz/"
ln -sf /usr/share/licenses/common/GPL2/license.txt "${pkgdir}/usr/share/doc/xz/COPYING.GPLv2"
}