aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoremmett1 <me@emmett1.my>2026-05-30 00:18:25 +0800
committeremmett1 <me@emmett1.my>2026-05-30 00:18:25 +0800
commit8ba3c15259175ee64ece7ef620c58ada7994e60b (patch)
treecb7a246349eff47f12c96a3ec5986472f3fea8ce /README.md
parent49717b9544bacbcd38a10b791adcb4a4aa2e9162 (diff)
downloadautils-8ba3c15259175ee64ece7ef620c58ada7994e60b.tar.gz
autils-8ba3c15259175ee64ece7ef620c58ada7994e60b.zip
removed APKG_BINMERGE
Diffstat (limited to 'README.md')
-rw-r--r--README.md38
1 files changed, 18 insertions, 20 deletions
diff --git a/README.md b/README.md
index 8cb5623..699466e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# autils
-Alice Linux Utilities — a collection of POSIX shell scripts for source-based package management on [Alice Linux](https://codeberg.org/emmett1/alicelinux).
+Alice Linux Utilities: a collection of POSIX shell scripts for source-based package management on [Alice Linux](https://codeberg.org/emmett1/alicelinux).
## Overview
@@ -74,7 +74,7 @@ updateconf
| Tool | Description |
|---|---|
| `revdep` | Scan system binaries and libraries for missing library links (run after major upgrades) |
-| `updateconf` | Interactive `.new` config file merge tool — diff, keep, discard, or edit |
+| `updateconf` | Interactive `.new` config file merge tool: diff, keep, discard, or edit |
| `reposync` | Git repo sync driven by `REPOSYNC_*` environment variables (no `/etc/apkg.conf` dependency) |
## The abuild recipe
@@ -146,12 +146,12 @@ Without `build()`, optional `prebuild()` and `postbuild()` hooks run before and
When no `build()` function is defined, apkg auto-detects the build system by checking for these files in order:
-1. **meson.build** — `meson setup` with LTO, PIE, `wrap_mode=nodownload`, `buildtype=plain`
-2. **configure** — `./configure --prefix=/usr --sysconfdir=/etc ...`
-3. **CMakeLists.txt** — `cmake` with `Release` build type, prefers `ninja`
-4. **setup.py** — `python3 setup.py build && install --root=$PKG`
-5. **Makefile.PL** — `perl Makefile.PL && make && make install`
-6. **Makefile / makefile / GNUmakefile** — raw `make` with standard prefix variables
+1. **meson.build**: `meson setup` with LTO, PIE, `wrap_mode=nodownload`, `buildtype=plain`
+2. **configure**: `./configure --prefix=/usr --sysconfdir=/etc ...`
+3. **CMakeLists.txt**: `cmake` with `Release` build type, prefers `ninja`
+4. **setup.py**: `python3 setup.py build && install --root=$PKG`
+5. **Makefile.PL**: `perl Makefile.PL && make && make install`
+6. **Makefile / makefile / GNUmakefile**: raw `make` with standard prefix variables
See `doc/defaultbuildopts` for the exact flags used by each build system.
@@ -162,22 +162,21 @@ After compilation, apkg automatically:
- Removes common conflict files (`fonts.dir`, `fonts.scale`, `perllocal.pod`, `charset.alias`)
- Removes static libraries (`*.a`), libtool archives (`*.la`), locales, and docs (unless kept via `keep_*`)
- Strips ELF binaries (`--strip-all`), shared objects (`--strip-unneeded`), and static archives (`--strip-debug`)
-- Merges `/bin`, `/sbin`, `/usr/sbin` into `/usr/bin` if `APKG_BINMERGE` is set
## Triggers
After install or upgrade, apkg can automatically refresh system caches when the package provides relevant files:
-- **fontconfig** — `fc-cache -sf`
-- **GDK-Pixbuf** — `gdk-pixbuf-query-loaders --update-cache`
-- **GIO modules** — `gio-querymodules /usr/lib/gio/modules`
-- **GSettings schemas** — `glib-compile-schemas /usr/share/glib-2.0/schemas`
-- **GTK2/GTK3 input methods** — `gtk-query-immodules-2.0/3.0 --update-cache`
-- **Icon themes** — `gtk-update-icon-cache`
-- **udev hardware database** — `udevadm hwdb --update`
-- **X font indices** — `mkfontdir` / `mkfontscale`
-- **Desktop MIME cache** — `update-desktop-database`
-- **Shared MIME database** — `update-mime-database /usr/share/mime`
+- **fontconfig**: `fc-cache -sf`
+- **GDK-Pixbuf**: `gdk-pixbuf-query-loaders --update-cache`
+- **GIO modules**: `gio-querymodules /usr/lib/gio/modules`
+- **GSettings schemas**: `glib-compile-schemas /usr/share/glib-2.0/schemas`
+- **GTK2/GTK3 input methods**: `gtk-query-immodules-2.0/3.0 --update-cache`
+- **Icon themes**: `gtk-update-icon-cache`
+- **udev hardware database**: `udevadm hwdb --update`
+- **X font indices**: `mkfontdir` / `mkfontscale`
+- **Desktop MIME cache**: `update-desktop-database`
+- **Shared MIME database**: `update-mime-database /usr/share/mime`
Run `apkg -t` to trigger these manually for all installed packages.
@@ -196,7 +195,6 @@ Run `apkg -t` to trigger these manually for all installed packages.
| `APKG_KEEP_WORKDIR` | (unset) | Keep build tree on failure (for debugging) |
| `APKG_ALIAS` | (unset) | Dependency substitution: `real:alias` pairs |
| `APKG_MASK` | (unset) | Packages to skip during `-l` and `-U` |
-| `APKG_BINMERGE` | (unset) | Merge bin/sbin dirs into `/usr/bin` |
| `APKG_LOG` | (unset) | Enable build logging |
| `APKG_LOG_DIR` | (unset) | Log file directory (filename: `$name.log`) |