# Contributor: Sodface # Maintainer: Sodface pkgname=althttpd pkgver=202209261657 pkgrel=1 pkgdesc="Small, simple, stand-alone HTTP server" url="https://sqlite.org/althttpd/doc/trunk/althttpd.md" arch="all" license="Public-Domain" makedepends="openssl-dev>3" options="!check" # no test suite subpackages="$pkgname-doc $pkgname-openrc" source=" $pkgname-$pkgver.tar.gz::https://sqlite.org/althttpd/tarball?r=$pkgver 10-allow-filename-plus-sign.patch 20-homepage-redirect-fix.patch $pkgname.confd $pkgname.initd " builddir="$srcdir" build() { make althttpsd } package() { install -Dm 644 "$srcdir"/althttpd.confd \ "$pkgdir"/etc/conf.d/althttpd install -Dm 755 "$srcdir"/althttpd.initd \ "$pkgdir"/etc/init.d/althttpd install -D althttpsd \ "$pkgdir"/usr/bin/althttpd install -Dm644 althttpd.md \ "$pkgdir"/usr/share/doc/$pkgname/althttpd.md } sha512sums=" 983879dc33360d16ab321bd2d4d7e9da3a91f28f5dd6d7aadcf2ad1949abdb738e0158f68d1d4c02d2d95689ba50bdf16cc8fa3397dd24d1ad636d26095e504d althttpd-202209261657.tar.gz 723536c1c348cd71a966c3722979a9c17e5c0d7de4895d1948a7c9a0287d5b9db1daccb045afae8d0f4d6199a97025faeafeade88cefd00cacf196bd5f027b44 10-allow-filename-plus-sign.patch c069452074f3769e596c7537538ef84ad39b1e1f0da7ff9895327079b567ddca48fb0ce057f73345da41aec137ca78f2a6ee5aef27165ce9852449322132d834 20-homepage-redirect-fix.patch 921e95b361ceeda361b244fceda0a42f19f27fd91f1aa714703fbd5b5ffea37dc0c92ff3687205b399ce4c6023017b7cc0b188e897bae34e5aae7413cfc4e477 althttpd.confd f21867430470b836d97d60215d9dda835125140cced3bb9c856349228572f2c73ac0574d3f705d72938879fc2b5a37855768a5f7de5c29943e3aa6ead5d72d9c althttpd.initd "