fortune: adopted

This commit is contained in:
John McQuah 2023-03-04 08:58:56 -05:00
parent bc7ce9c591
commit b8293ed977
2 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33pBge6zx8GRp7B5UHAMlB2jfwBEf/1gaU4SX6ev2NMOBr3ZuHBIHPXAwo4SjHPekOUccSUwOp15okzVcgi7XAk=
SHA256 (Pkgfile) = fc4fa6ec852efb87639f0933c881ad4de379b40008a572bd8304573c172a3d81
RWSagIOpLGJF3wPMDyepknzYWP73VewWkVkTluVZq3vtlTDe6Vn8H19cJkrMUOSqSxDXCJtO08T/YHCMbq6mECQUawD7bIijAQs=
SHA256 (Pkgfile) = b7386edef3c1525045ba5c02831d60974ab7248ed50b7467c860fc281c7326b1
SHA256 (.footprint) = 74efba3e043d0fe7c3bfd010a393d41a17661c4232396d6926f82f8c004af3cb
SHA256 (fortune-0.2.tar.gz) = 17b1ae743873502ed318b8e2f690f33615e48e16cf186c8b390c9c521557ba20
SHA256 (fortune-0.2.patch) = 421504218b1562e4ab354a6a540f614c7f1eedb6a8d2156ca37bfc369f3406c6

View File

@ -1,24 +1,23 @@
# Description: Display a random fortune
# URL: http://www.ibiblio.org/pub/Linux/games/amusements/fortune/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Daniel Mueller, daniel at danm dot de
# Maintainer: John McQuah, jmcquah at disroot dot org
name=fortune
version=0.2
release=6
source=(http://www.ibiblio.org/pub/Linux/games/amusements/$name/$name-$version.tar.gz \
source=(https://www.ibiblio.org/pub/Linux/games/amusements/$name/$name-$version.tar.gz \
$name-$version.patch \
http://crux.nu/~tek/fortune_big.zip \
http://www.schwarzvogel.de/pkgs/kernelcookies-8.tar.gz \
http://www.splitbrain.org/_media/projects/fortunes/fortune-simpsons-chalkboard.tgz \
http://www.splitbrain.org/_media/projects/fortunes/fortune-discworld.tgz \
http://crux.nu/files/distfiles/fortune-mod-prog-style.tar.gz)
https://crux.nu/~tek/fortune_big.zip \
https://www.schwarzvogel.de/pkgs/kernelcookies-8.tar.gz \
https://www.splitbrain.org/_media/projects/fortunes/fortune-simpsons-chalkboard.tgz \
https://www.splitbrain.org/_media/projects/fortunes/fortune-discworld.tgz \
https://crux.nu/files/distfiles/fortune-mod-prog-style.tar.gz)
build(){
local cookie
cd $name-$version
patch -p1 < ../$name-$version.patch
patch -p1 -i $SRC/$name-$version.patch
make
mkdir -p $PKG/usr/{bin,share/man/man6,share/games/fortunes}