Verified Commit be251733 authored by TBK's avatar TBK
Browse files

testing/codemadness-frontends: switch to libretls

parent 3ef822bd
Pipeline #74021 passed with stages
in 7 minutes and 55 seconds
# Maintainer: Miles Alan <m@milesalan.com>
pkgname=codemadness-frontends
pkgver=0.4
pkgrel=1
pkgrel=2
pkgdesc="Experimental (cli, web, and gopher) frontends for youtube, reddit, & duckduckgo"
url="https://www.codemadness.org/idiotbox.html"
arch="all"
license="ISC"
makedepends="libtls-standalone-dev"
makedepends="libretls-dev"
options="!check" # Has no tests
source="$pkgname-$pkgver.tar.gz::https://codemadness.org/releases/frontends/frontends-$pkgver.tar.gz"
builddir="$srcdir/frontends-$pkgver"
......@@ -19,9 +19,9 @@ prepare() {
build() {
make \
LIBTLS_LDFLAGS="$(pkg-config --libs libtls-standalone)" \
LIBTLS_LDFLAGS_STATIC="$(pkg-config --libs --static libtls-standalone)" \
CFLAGS="${CFLAGS} $(pkg-config --cflags libtls-standalone)"
LIBTLS_LDFLAGS="$(pkg-config --libs libtls)" \
LIBTLS_LDFLAGS_STATIC="$(pkg-config --libs --static libtls)" \
CFLAGS="${CFLAGS} $(pkg-config --cflags libtls)"
}
package() {
......@@ -36,5 +36,4 @@ package() {
install -Dm755 reddit/cli $pkgdir/usr/bin/reddit-cli
}
sha512sums="bc3c22a6bcf0ea99851efbffa2523a7169b6fcc1ba1ec4747fd776bd5df41d1b395c97019fd59415c5092577f3542f8696edde13331167588b3341b8929c627f codemadness-frontends-0.4.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment