-
Notifications
You must be signed in to change notification settings - Fork 0
Creating a package
See also: Creating and using your own repository
Shoppe stores package information in a file named shoppepkg
. This file acts simmilarily to Alpine's APKBUILD
or Arch's PKGBUILD
- it contains the build and installation instructions, but not the package data itself.
To make a package, make your own local repository (see link at the beggining of this page) for testing.
Next, you have to decide which architecture your package is for.
- If it is architecture independent, or available for all architectures, the architecture will be
all
.- Note: If your package requires separate prebuilt files for each architecture, put
archdependent="true"
in your shoppepkg.
- Note: If your package requires separate prebuilt files for each architecture, put
- If it only works on certain architectures, the architecture will be the same as its name in the
uname -m
output.- Note: 32x (i*86) is automatically set to
i686
.
- Note: 32x (i*86) is automatically set to
Create a folder named just like your package. Then, in your newly created package directory, make the shoppepkg file. Now you have to fill in the important info. Use this file as a template.
Assuming you filled the template properly and you added your repository, you should now be able to install the package.
To create a prebuilt package, pass the +pm switch to Shoppe, then move the prebuilt package to your package directory and rename it to content.tar.gz
. (NOTE: There will be an easier way to do this in shoppe-pkgutils, so stay tuned!)
(TODO: shoppe-pkgutils)