Fix dependencies and add license
This commit is contained in:
@@ -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"
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user