aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>2022-11-19 08:57:07 +0100
committerFerass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>2022-11-19 08:57:07 +0100
commitf4fed0eb9a80253f996f393289ae23f1fb046157 (patch)
tree1bc6b9684209ccbfecb362cf4018b9b15ee050bd
parent213ff51b5080478c7815bb26bfc5a2ad90e5020b (diff)
downloadfases-packages.tar.gz
fases-packages.zip
Add instructions for building a package for Debianpackages
Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
-rw-r--r--README.md28
-rw-r--r--arch/PKGBUILD6
2 files changed, 24 insertions, 10 deletions
diff --git a/README.md b/README.md
index d0087a6..deb4f75 100644
--- a/README.md
+++ b/README.md
@@ -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() {