mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 06:17:10 +02:00
99 lines
3.3 KiB
Text
99 lines
3.3 KiB
Text
# Contributor: Miles Alan <m@milesalan.com>
|
|
# Maintainer: Bobby Hamblin <hamblingreen@hotmail.com>
|
|
pkgname=f_scripts
|
|
pkgver=0.6
|
|
pkgrel=1
|
|
pkgdesc="Framebufferphone prompt-driven scripts which are compatible with fbp"
|
|
url="https://git.sr.ht/~hamblingreen/f_scripts"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="oil"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~hamblingreen/f_scripts/archive/$pkgver.tar.gz"
|
|
options="!check" # Has no tests
|
|
subpackages="
|
|
$pkgname-f_audio
|
|
$pkgname-f_files
|
|
$pkgname-f_game
|
|
$pkgname-f_maps
|
|
$pkgname-f_networks
|
|
$pkgname-f_phone
|
|
$pkgname-f_rss
|
|
$pkgname-f_theme
|
|
$pkgname-f_timer
|
|
$pkgname-f_web
|
|
$pkgname-f_youtube
|
|
"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir/usr/bin"
|
|
}
|
|
|
|
f_audio() {
|
|
pkgdesc="$pkgname - f_audio script, Adjust audio devices and volume"
|
|
depends="$depends pipewire wireplumber pipewire-pulse"
|
|
install -Dm755 "$builddir"/scripts/f_audio "$subpkgdir/usr/bin/f_audio"
|
|
}
|
|
|
|
f_files() {
|
|
pkgdesc="$pkgname - f_files script, Browse files on your filesystem"
|
|
depends="$depends vim mpv fbida-fbi fbida-fbgs"
|
|
install -Dm755 "$builddir"/scripts/f_files "$subpkgdir/usr/bin/f_files"
|
|
}
|
|
|
|
f_game() {
|
|
pkgdesc="$pkgname - f_game script, Play classic console games"
|
|
depends="$depends moon-buggy"
|
|
install -Dm755 "$builddir"/scripts/f_game "$subpkgdir/usr/bin/f_game"
|
|
}
|
|
|
|
f_maps() {
|
|
pkgdesc="$pkgname - f_maps script, Browse OSM maps using mepo (via SDL directfb)."
|
|
depends="$depends mepo tslib directfb mesa-gl kbd vis"
|
|
install -Dm755 "$builddir"/scripts/f_maps "$subpkgdir/usr/bin/f_maps"
|
|
}
|
|
|
|
f_networks() {
|
|
pkgdesc="$pkgname - f_networks script, Allows managing gsm/wpa connections via underlying nmcli calls"
|
|
depends="$depends networkmanager dnsmasq networkmanager networkmanager-cli networkmanager-openrc networkmanager-tui networkmanager-wifi networkmanager-wwan"
|
|
install -Dm755 "$builddir"/scripts/f_networks "$subpkgdir/usr/bin/f_networks"
|
|
}
|
|
|
|
f_phone() {
|
|
pkgdesc="$pkgname - f_phone script, Manages phone calls / text messages using modemmanager"
|
|
depends="$depends polkit modemmanager linuxconsoletools callaudiod pnc"
|
|
install -Dm755 "$builddir"/scripts/f_phone "$subpkgdir/usr/bin/f_phone"
|
|
}
|
|
|
|
f_rss() {
|
|
pkgdesc="$pkgname - f_rss script, Fetches data from RSS via sfeed and allows you to view via sfeed_curses"
|
|
depends="$depends sfeed w3m"
|
|
install -Dm755 "$builddir"/scripts/f_rss "$subpkgdir/usr/bin/f_rss"
|
|
}
|
|
|
|
f_theme() {
|
|
pkgdesc="$pkgname - f_theme script, Change the framebuffer theme (font & colors)"
|
|
depends="$depends terminus-font util-linux-misc"
|
|
install -Dm755 "$builddir"/scripts/f_theme "$subpkgdir/usr/bin/f_theme"
|
|
}
|
|
|
|
f_timer() {
|
|
pkgdesc="$pkgname - f_timer script, Set a countdown timer to be alerted"
|
|
depends="$depends linuxconsoletools util-linux-misc"
|
|
install -Dm755 "$builddir"/scripts/f_timer "$subpkgdir/usr/bin/f_timer"
|
|
}
|
|
|
|
f_web() {
|
|
pkgdesc="$pkgname - f_web script, Select a website and browse via w3m or netsurf"
|
|
depends="$depends w3m netsurf-framebuffer tslib"
|
|
install -Dm755 "$builddir"/scripts/f_web "$subpkgdir/usr/bin/f_web"
|
|
}
|
|
|
|
f_youtube() {
|
|
pkgdesc="$pkgname - f_youtube script, Listen or view youtube videos via mpv"
|
|
depends="$depends codemadness-frontends mpv yt-dlp"
|
|
install -Dm755 "$builddir"/scripts/f_youtube "$subpkgdir/usr/bin/f_youtube"
|
|
}
|
|
|
|
sha512sums="
|
|
9ae933dafda32f58ff86c3b20410ef996a01a4658409868852e323ef65b6981ace45290d1fe742fcadd1c741a5b91c3bfe991034e4a88de83c9610056b2434f5 f_scripts-0.6.tar.gz
|
|
"
|