moonlander: initial commit
This commit is contained in:
parent
4d08786b79
commit
c61262b023
3
moonlander/.footprint
Normal file
3
moonlander/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/moonlander
|
4
moonlander/.signature
Normal file
4
moonlander/.signature
Normal file
@ -0,0 +1,4 @@
|
||||
untrusted comment: verify with /etc/ports/jmq.pub
|
||||
RWTTPlFarK9CxE03+CYCfjsgC6BILgGJRg93DPlc0R5KS87rKH9EoZS+InfxFaSnizyoxkIJ3PdLql5kfXnPkRjvOAe9vX3uNgg=
|
||||
SHA256 (Pkgfile) = 2e952221f84405a15b40731385b1e9aa67f5cac31fbf323318e2db0b18e353db
|
||||
SHA256 (moonlander-abfb9cd4.tar.gz) = f45f7929c0f864da843f96e1d5f342311dba8049c6e7e71c0da318f44ea72ef8
|
24
moonlander/Pkgfile
Normal file
24
moonlander/Pkgfile
Normal file
@ -0,0 +1,24 @@
|
||||
# Description: graphical gemini browser using GTK3
|
||||
# URL: https://git.sr.ht/~admicos/moonlander/
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: rust gtk3
|
||||
|
||||
name=moonlander
|
||||
version=abfb9cd4
|
||||
release=1
|
||||
source=(https://git.sr.ht/~admicos/$name/archive/$version.tar.gz)
|
||||
renames=($name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
mkdir -p "$PKGMK_SOURCE_DIR/rust"
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
|
||||
cd $name-$version
|
||||
cargo build --release
|
||||
|
||||
cd target/release
|
||||
strip -s moonlander
|
||||
mkdir -p $PKG/usr/bin
|
||||
install -m 0755 moonlander $PKG/usr/bin
|
||||
}
|
Loading…
Reference in New Issue
Block a user