upg lowdown qpdf

This commit is contained in:
joborun linux 2023-10-16 15:26:35 +03:00
parent 7da27a459d
commit b9b59af353
6 changed files with 84 additions and 11 deletions

View file

@ -0,0 +1,70 @@
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=lighttpd
pkgver=1.4.72
pkgrel=1
pkgdesc='A secure, fast, compliant and very flexible web-server'
license=('custom')
arch=('x86_64')
url="https://www.lighttpd.net/"
depends=('pcre2' 'systemd' 'brotli')
makedepends=('mariadb-libs' 'lua' 'libxml2' 'e2fsprogs' 'sqlite' 'pkgconfig')
optdepends=('libxml2: mod_webdav'
'lua: mod_cml/mod_magnet'
'mariadb-libs: mod_mysql_vhost/mod_authn_mysql'
'sqlite: mod_webdav')
backup=('etc/lighttpd/lighttpd.conf' 'etc/logrotate.d/lighttpd')
options=('emptydirs')
source=("https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${pkgver}.tar.xz"{,.asc}
'lighttpd.logrotate.d' 'lighttpd.conf' 'lighttpd.tmpfiles' 'lighttpd.service')
sha256sums=('f7cade4d69b754a0748c01463c33cd8b456ca9cc03bb09e85a71bcbcd54e55ec'
'SKIP'
'41f6c0042bb61021553779f861910e335834f6c15e4411756cdc6233b31076fe'
'fece4581bebf39768571962dedce176b2b5f487c0abb5c1cfb35395de216c01f'
'd8a185145a7c08b4fd8c8e6c12dae3e176389dd9b1c66e239757b2ba5108c871'
'0c88403364e732c06090f6807105dedbac25aa82add0499d28007f8aaa780b78')
validpgpkeys=('C7CA1E9E29DC77F5480894B2E0E7D0171E95BAD7'
'649D0DD767FF206202A76C5158F14A786FE198C8'
'EAAF41A8BE3BB8D001CACD136DE62CA242909B84')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sbindir=/usr/bin \
--libdir=/usr/lib/lighttpd/ \
--sysconfdir=/etc/lighttpd \
--with-mysql \
--with-ldap \
--with-attr \
--with-openssl \
--with-webdav-props \
--with-webdav-locks \
--with-lua \
--with-pcre2 \
--with-brotli
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
make check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -D -m644 "$srcdir/lighttpd.logrotate.d" "$pkgdir/etc/logrotate.d/lighttpd"
install -D -m644 "$srcdir/lighttpd.conf" "$pkgdir/etc/lighttpd/lighttpd.conf"
install -d -m700 -o http -g http "$pkgdir"/var/{log,cache}/lighttpd/
install -D -m644 "${srcdir}/lighttpd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/lighttpd.conf"
install -D -m644 "${srcdir}/lighttpd.service" "${pkgdir}/usr/lib/systemd/system/lighttpd.service"
pushd doc/config >/dev/null
find . -type f ! -name 'Makefile*' -exec install -D -m644 {} "${pkgdir}"/usr/share/doc/lighttpd/config/{} \;
popd >/dev/null
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View file

@ -8,10 +8,11 @@
pkgname=lowdown
pkgdesc="A simple Markdown translator"
pkgver=1.0.2
pkgrel=01
pkgrel=02
url="https://kristaps.bsd.lv/lowdown"
depends=('glibc' 'libmd')
makedepends=('git')
provides=('liblowdown.so')
_commit='45c3ffad5fe3b51360afe6e566ec54edcb13718f'
source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
@ -63,4 +64,4 @@ license=('ISC')
sha256sums=(SKIP)
## e2a13e89c9cfc52a5bf90e166d612060ecad42ce6f1779cdc29a578cca430491 lowdown-1.0.2-01-x86_64.pkg.tar.lz
## 3a05127d97e062a702cb2ba734f34b6e4b40cea97764273fe47343851167956b lowdown-1.0.2-02-x86_64.pkg.tar.lz

View file

@ -3,13 +3,14 @@
pkgname=lowdown
pkgver=1.0.2
pkgrel=1
pkgrel=2
pkgdesc='A simple Markdown translator'
arch=('x86_64')
url='https://kristaps.bsd.lv/lowdown'
license=('ISC')
depends=('glibc' 'libmd')
makedepends=('git')
provides=('liblowdown.so')
_commit='45c3ffad5fe3b51360afe6e566ec54edcb13718f'
source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
b2sums=('SKIP')

View file

@ -7,7 +7,7 @@
#pkgbase=qpdf
pkgname=('qpdf') # 'qpdf-docs')
pkgver=11.6.2
pkgver=11.6.3
pkgrel=01
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
url="https://github.com/qpdf/qpdf"
@ -71,7 +71,7 @@ license=('custom:Artistic-2.0' 'Apache')
validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb@ql.org>"
sha256sums=(9d7011c348abb9ec281dfb0675abcc4a670a14ca4fafd8b945dac5817035acb0 # qpdf-11.6.2.tar.gz
06d8479d9453faf25b399eb9947cdea94a54a442d160f6e12bc35d13ca06161a) # qpdf-11.6.2.tar.gz.asc
sha256sums=(c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc # qpdf-11.6.3.tar.gz
3f14a1a5edb5c7087259b3b62310a018a33cf56cd7d1ac0d0f08752daec05608) # qpdf-11.6.3.tar.gz.asc
## f1263505061759356cb908f13fab88bdbbe13cc6b5ff0915c472681a02347ddb qpdf-11.6.2-01-x86_64.pkg.tar.lz
## 92082d7530520119cf2229f63615842834138d69abcfc3a9426942eb03d5f955 qpdf-11.6.3-01-x86_64.pkg.tar.lz

View file

@ -5,7 +5,7 @@
pkgbase=qpdf
pkgname=('qpdf' 'qpdf-docs')
pkgver=11.6.2
pkgver=11.6.3
pkgrel=1
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
arch=('x86_64')
@ -15,7 +15,7 @@ makedepends=('libjpeg-turbo' 'zlib' 'gnutls' 'cmake'
'texlive-bin' 'texlive-binextra' 'texlive-fontsrecommended' 'python-sphinx' 'python-sphinx_rtd_theme' 'texlive-latexextra')
# https://github.com/qpdf/qpdf/releases/download/v11.6.2/qpdf-11.6.2.sha256
source=(https://github.com/qpdf/qpdf/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz{,.asc})
sha256sums=('9d7011c348abb9ec281dfb0675abcc4a670a14ca4fafd8b945dac5817035acb0'
sha256sums=('c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc'
'SKIP')
validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb@ql.org>"

View file

@ -7,6 +7,7 @@ python-sphinx_rtd_theme
texlive-latexextra
texlive-binextra
texlive-fontsrecommended
graphite