Ports: Add aclock port
This commit is contained in:
parent
f3cec9de75
commit
ffe9a862f0
Notes:
sideshowbarker
2024-07-17 08:02:05 +09:00
Author: https://github.com/seal331 🔰 Commit: https://github.com/SerenityOS/serenity/commit/ffe9a862f0 Pull-request: https://github.com/SerenityOS/serenity/pull/14971 Reviewed-by: https://github.com/timschumi
2 changed files with 15 additions and 0 deletions
|
@ -6,6 +6,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
|||
|
||||
| Port | Name | Version | Website |
|
||||
|-----------------------------------------------------|-----------------------------------------------------------------|--------------------------|--------------------------------------------------------------------------------|
|
||||
| [`aclock`](aclock/) | aclock | 2.3 | https://github.com/tenox7/aclock |
|
||||
| [`acpica-tools`](acpica-tools/) | ACPI Component Architecture Project Userspace Utilities | 20220331 | https://acpica.org/downloads |
|
||||
| [`angband`](angband/) | Angband | 4.2.4 | https://rephial.org |
|
||||
| [`Another-World`](Another-World/) | Another World Bytecode Interpreter | | https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter |
|
||||
|
|
14
Ports/aclock/package.sh
Executable file
14
Ports/aclock/package.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='aclock'
|
||||
version='2.3'
|
||||
files="https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c aclock-${version}.c 2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669"
|
||||
auth_type='sha256'
|
||||
depends=("ncurses")
|
||||
|
||||
build() {
|
||||
run_nocd ${CC} aclock-${version}.c -o aclock -lcurses -lm
|
||||
}
|
||||
|
||||
install() {
|
||||
cp aclock "$DESTDIR/usr/local/bin"
|
||||
}
|
Loading…
Add table
Reference in a new issue