diff options
-rw-r--r-- | README.md | 28 | ||||
-rw-r--r-- | arch/PKGBUILD | 6 |
2 files changed, 24 insertions, 10 deletions
@@ -2,9 +2,9 @@ Packages for popular OSes using the Linux kernel. | Distribution | Packaging format | Status | |------------------|--------------------------|--------| -| Arch Linux | pacman[2] | Done | -| Alpine Linux | Alpine Package Keeper[1] | To do | -| Debian GNU/Linux | APT[3] | To do | +| Arch Linux | pacman[1] | Done | +| Debian GNU/Linux | APT[2] | Done | +| Alpine Linux | Alpine Package Keeper[3] | To do | ***(!) This branch does not include packages. It instead includes the tools required to make them. (!)*** @@ -26,8 +26,22 @@ Building a package on Arch Linux and Arch-based OSes is simple. Just run $ makepkg ``` -You can also run it with the `-i` argument to then install the package. +### Debian GNU/Linux -[1]: https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper -[2]: https://archlinux.org/pacman/ -[3]: https://www.debian.org/doc/manuals/debian-handbook/sect.apt-get.en.html +The process of building a package on Debian GNU/Linux is similar to Arch +Linux. It's so similar in fact that the Arch Linux PKGBUILD also works on +Debian GNU/Linux. + +First, install `makedeb`[4]. You can then run the following command: + +``` +$ makedeb +``` + +There will also be another way to build a Debian GNU/Linux package without +using `makedeb`. + +[1]: https://archlinux.org/pacman/ +[2]: https://www.debian.org/doc/manuals/debian-handbook/sect.apt-get.en.html +[3]: https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper +[4]: https://www.makedeb.org/ diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 9871717..c58bd60 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -1,7 +1,7 @@ -# fases Arch Linux packages +# fases Arch Linux and Debian GNU/Linux packages # Maintainer: Ferass EL HAFIDI <vitali64pmemail@protonmail.com> pkgname=fasesbox-git # '-bzr', '-git', '-hg' or '-svn' -pkgver=r247.25f1754 +pkgver=247.25f1754 pkgrel=1 pkgdesc="Simple utilities for a fully functionnal UNIX-like system." arch=('any') @@ -22,7 +22,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%box-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |