Collection repository for gitpkg.
Each subdirectory is a standalone package with its own Makefile:
packages/
├── fetch/
│ ├── Makefile
│ └── ...
└── .../
This repository is configured as a default collection in gitpkg. Packages are installed by name:
sudo gitpkg install fetch
gitpkg clones the collection once, then builds the requested package from its subdirectory.
Any package can be installed standalone:
cd fetch/
sudo make install
| Package | Description |
|---|---|
| fetch | Minimal system information tool |
Create a subdirectory with a Makefile that has:
installtarget (required) — must respectDESTDIRbuildtarget (optional)
packages/
└── mypackage/
├── Makefile
├── README.md
└── ...
Minimal Makefile:
PREFIX = /usr
DESTDIR =
install:
install -Dm755 mypackage $(DESTDIR)$(PREFIX)/bin/mypackage
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/mypackageAfter pushing, the package becomes available to all gitpkg users who have this collection configured:
sudo gitpkg install mypackage
AGPL-3.0-or-later