Fix dependencies and add license

This commit is contained in:
2025-05-11 17:13:16 +03:00
parent 5e442ff187
commit 088008e51a
3 changed files with 13 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
URL="https://lynx.invisible-island.net/current/"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep 'We are currently working on Lynx ' | grep -o -E '([0-9]*)\.([0-9]*)\.([0-9]*)')
echo "$VERSION"
+2
View File
@@ -1,7 +1,9 @@
name: lynx name: lynx
description: A text-based browser description: A text-based browser
version: 2.9.2 version: 2.9.2
revision: 2
url: https://lynx.invisible-island.net/ url: https://lynx.invisible-island.net/
license: GPL2-only license: GPL2-only
architecture: any architecture: any
depends: ["brotli","bzip2","glibc","libidn2","ncurses","openssl","zlib"]
type: source type: source
+3
View File
@@ -36,4 +36,7 @@ check() {
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make DESTDIR="$BPM_OUTPUT" install-full make DESTDIR="$BPM_OUTPUT" install-full
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/lynx/COPYING
} }