Skip to content

fkzys/packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

packages

Collection repository for gitpkg.

Structure

Each subdirectory is a standalone package with its own Makefile:

packages/
├── fetch/
│   ├── Makefile
│   └── ...
└── .../

Install via gitpkg

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.

Manual install

Any package can be installed standalone:

cd fetch/
sudo make install

Available packages

Package Description
fetch Minimal system information tool

Adding a package

Create a subdirectory with a Makefile that has:

  • install target (required) — must respect DESTDIR
  • build target (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/mypackage

After pushing, the package becomes available to all gitpkg users who have this collection configured:

sudo gitpkg install mypackage

License

AGPL-3.0-or-later

About

Collection repository for gitpkg.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors