aboutsummaryrefslogtreecommitdiff

creating repositories

your repository should be packed in Zstd archive and your repository should have this structure:

repo-name.tar.zst/
| manifest.uz
| pkgs.uz
| packages/
|| example/
||| install.sh
||| remove.sh
||| depends.uz
|| halal/
||| ...
|| ...

manifest.uz:

repo-name | Repository Description | maintainer | not required...

pkgs.uz:

example | Example package for Da | 1.0.0
halal | most halal package in the world | 78fd004609

packages/example/:

example/
| install.sh
| remove.sh
| depends.uz

packages/example/install.sh:

#!/bin/sh
set -e

curl -# -O http://example.org/example/bin/example.sh
mkdir -p $DESTDIR/usr/bin
cp -v example.sh $DESTDIR/usr/bin/example
chmod +x $DESTDIR/usr/bin/example

packages/example/remove.sh:

#!/bin/sh
set -e

rm -fv $DESTDIR/usr/bin/example

packages/example/depends.uz:

python-uzbekdb
example-lib
procps-ng