Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Feb 27, 2025
1 parent 15806c4 commit 818dde4
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 16 deletions.
3 changes: 2 additions & 1 deletion formula/aerc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ git-url: https://git.sr.ht/~rjarry/aerc
src-url: https://git.sr.ht/~rjarry/aerc/archive/0.17.0.tar.gz
src-sha: a8a1af36b4d4989afd670601d83fc2088e14d804c66bd1e3bdd14561bd89c2cc
license: MIT
dep-pkg: scdoc
dep-upp: scdoc
bsystem: gmake go

install: |
gmakew clean
gmakew PREFIX="$PACKAGE_INSTALL_DIR"
gmakew install PREFIX="$PACKAGE_INSTALL_DIR"
install2: |
gow \
-X main.Date="$(date +%Y-%m-%d)" \
Expand Down
12 changes: 11 additions & 1 deletion formula/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ src-url: https://github.com/alacritty/alacritty/archive/refs/tags/v0.15.1.tar.gz
src-sha: b814e30c6271ae23158c66e0e2377c3600bb24041fa382a36e81be564eeb2e36
license: Apache-2.0
dep-pkg: libfontconfig libxkbcommon
dep-upp: python3 tic
dep-upp: python3 tic scdoc
bsystem: cargo cmake
install: |
cargow install --path alacritty
Expand All @@ -16,11 +16,21 @@ install: |
run install -d "$PACKAGE_INSTALL_DIR/share/applications/"
run cp -L extra/linux/Alacritty.desktop "$PACKAGE_INSTALL_DIR/share/applications/org.alacritty.Alacritty.desktop"
run install -d "$PACKAGE_INSTALL_DIR/share/metainfo/"
run cp -L extra/linux/org.alacritty.Alacritty.appdata.xml "$PACKAGE_INSTALL_DIR/share/metainfo/"
run install -d "$PACKAGE_INSTALL_DIR/share/icons/hicolor/scalable/apps/"
run cp -L extra/logo/compat/alacritty-simple.svg "$PACKAGE_INSTALL_DIR/share/icons/hicolor/scalable/apps/Alacritty.svg"
run install -d "$PACKAGE_INSTALL_DIR/share/terminfo/"
run tic -x -e alacritty,alacritty-direct "-o$PACKAGE_INSTALL_DIR/share/terminfo/" extra/alacritty.info
for f in extra/man/*.scd
do
o="${f%.*}"
run "scdoc < $f > $o"
install_mans "$o"
done
bindenv: TERMINFO=%s/share/terminfo
4 changes: 2 additions & 2 deletions formula/appimagetool.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
summary: A command-line tool to generate an AppImage from an existing AppDir
git-url: https://github.com/AppImage/appimagetool
dep-pkg: glib libcurl libgpgme argp-standalone
dep-pkg: glib libcurl libgpgme libargp
bsystem: cmake

dosetup: |
if [ "$TARGET_PLATFORM_VERS" = musl ] ; then
export PROXIED_CC_ARGS="$PROXIED_CC_ARGS -L$argp_standalone_LIBRARY_DIR -largp -lintl -liconv"
export PROXIED_CC_ARGS="$PROXIED_CC_ARGS -L$libargp_LIBRARY_DIR -largp -lintl -liconv"
fi
3 changes: 2 additions & 1 deletion formula/argparse.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
summary: Argument Parser for Modern C++
pkgtype: lib
summary: A small header-only C++ library for parsing command-line arguments
src-url: https://github.com/p-ranav/argparse/archive/refs/tags/v3.0.tar.gz
src-sha: ba7b465759bb01069d57302855eaf4d1f7d677f21ad7b0b00b92939645c30f47
license: MIT
Expand Down
2 changes: 1 addition & 1 deletion formula/args.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
summary: A simple header-only C++ argument parser library
summary: A simple header-only C++ library for parsing command-line arguments
src-url: https://github.com/Taywee/args/archive/refs/tags/6.3.0.tar.gz
src-sha: e072c4a9d6990872b0ecb45480a5487db82e0dc3d27c3c3eb9fc0930c0d796ae
license: MIT
Expand Down
5 changes: 0 additions & 5 deletions formula/async++.yml

This file was deleted.

2 changes: 2 additions & 0 deletions formula/argp-standalone.yml → formula/libargp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ bsystem: meson

fix-url: https://git.alpinelinux.org/aports/plain/main/argp-standalone/gnu89-inline.patch
fix-sha: 29be7cf514ecebe0c8879e9c510931d5ed03cb5f06ddd230f08b541b168fd5b6

dopatch: gsed -i 's|static_library|library|' meson.build
File renamed without changes.
2 changes: 1 addition & 1 deletion formula/libasync++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ summary: A lightweight concurrency framework for C++11
src-url: https://github.com/Amanieu/asyncplusplus/archive/v1.1.tar.gz
src-sha: d160d3a433a1e08f51c785742843182c2b81a7bc872766f57bf5f3108377b858
license: MIT
install: cmakew 2
install: cmakew 2 -DUSE_CXX_EXCEPTIONS=ON
4 changes: 2 additions & 2 deletions formula/libelf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ web-url: https://sourceware.org/elfutils
src-url: https://sourceware.org/elfutils/ftp/0.191/elfutils-0.191.tar.bz2
src-sha: df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871
license: GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-only
dep-pkg: libzstd liblzma libbz2 libz argp-standalone musl-obstack musl-fts
dep-pkg: libzstd liblzma libbz2 libz libargp musl-obstack musl-fts
dep-upp: gm4
ccflags: -Wno-error

Expand All @@ -19,7 +19,7 @@ dosetup: |
# FNM_EXTMATCH is a GNU externsion, musl does not define it
if [ "$TARGET_PLATFORM_VERS" = musl ] ; then
export CPPFLAGS="$CPPFLAGS -DFNM_EXTMATCH=0"
export PROXIED_CC_ARGS="$PROXIED_CC_ARGS -L$argp_standalone_LIBRARY_DIR -largp"
export PROXIED_CC_ARGS="$PROXIED_CC_ARGS -L$libargp_LIBRARY_DIR -largp"
fi
install: |
Expand Down
2 changes: 1 addition & 1 deletion formula/linux/elfutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ web-url: https://sourceware.org/elfutils
src-url: https://sourceware.org/elfutils/ftp/0.191/elfutils-0.191.tar.bz2
src-sha: df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871
license: GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-only
dep-pkg: libzstd liblzma libbz2 libz argp-standalone musl-obstack musl-fts
dep-pkg: libzstd liblzma libbz2 libz libargp musl-obstack musl-fts
dep-upp: gm4
ccflags: -Wno-error

Expand Down
2 changes: 1 addition & 1 deletion formula/linux/libelf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ web-url: https://sourceware.org/elfutils
src-url: https://sourceware.org/elfutils/ftp/0.191/elfutils-0.191.tar.bz2
src-sha: df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871
license: GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-only
dep-pkg: libz argp-standalone musl-obstack musl-fts
dep-pkg: libz libargp musl-obstack musl-fts
dep-upp: gm4
ccflags: -Wno-error

Expand Down

0 comments on commit 818dde4

Please sign in to comment.