Compare commits

...

2 commits

Author SHA1 Message Date
ff3350de5d
[fix] improve the dist task 2023-05-12 00:55:38 +03:00
c205da71ea
[doc] Create the readme file 2023-05-12 00:32:08 +03:00
3 changed files with 39 additions and 8 deletions

View file

@ -55,14 +55,15 @@ $(BUILD_DIR)/archy-slstatus: $(SLSTATUS_OBJ) $(COM_OBJ) $(REQ_OBJ)
clean:
rm -rf $(BUILD_DIR)
dist:
rm -rf "archy-slstatus_$(VERSION)"
mkdir -p "archy-slstatus_$(VERSION)/components"
cp -R LICENSE Makefile README config.mk config.def.h \
arg.h $(SRC_DIR)/archy-slstatus.c $(COM:%=$(SRC_DIR)/%.c) $(REQ:%=$(SRC_DIR)/%.c) $(REQ:%=$(SRC_DIR)/%.h) \
archy-slstatus.1 "archy-slstatus_$(VERSION)"
tar -cf - "archy-slstatus_$(VERSION)" | gzip -c > "archy-slstatus_$(VERSION).tar.gz"
rm -rf "archy-slstatus_$(VERSION)"
dist: build/archy-slstatus
mkdir -p "dist/archy-slstatus_$(VERSION)"
cp -R LICENSE README.md $(BUILD_DIR)/archy-slstatus archy-slstatus.1 "dist/archy-slstatus_$(VERSION)"
tar -cf - "dist/archy-slstatus_$(VERSION)" | gzip -c > "archy-slstatus_$(VERSION).tar.gz"
rm -rf "dist/archy-slstatus_$(VERSION)"
mv "archy-slstatus_$(VERSION).tar.gz" "dist/archy-slstatus_$(VERSION).tar.gz"
echo "The tarball is ready."
printf "Tarball size: %s\n" $$(du -h dist/archy-slstatus_${VERSION}.tar.gz | cut -f1)
printf "Tarball hash: %s\n" $$(sha256sum dist/archy-slstatus_${VERSION}.tar.gz)
install: all
mkdir -p "$(DESTDIR)$(PREFIX)/bin"

30
README.md Normal file
View file

@ -0,0 +1,30 @@
# archy-slstatus
## The status bar for archy-slstatus
![simple screenshot](./screenshots/1.0.0.png)
### Installation
You can install archy-slstatus from the AUR with your favorite AUR helper.
```sh
yay -S archy-slstatus
```
Or you can install the latest version from the git repository.
```sh
yay -S archy-slstatus-git
```
Or you can build it yourself.
```sh
git clone https://github.com/archy-linux/archy-slstatus.git
cd archy-slstatus
sudo make install clean
```
### Mirrors
* [GitHub](https://github.com/archy-linux/archy-slstatus) - The upstream repository
* [GitLab](https://gitlab.com/archy-linux/archy-slstatus) - [![Mirror the repo to gitlab](https://github.com/archy-linux/archy-slstatus/actions/workflows/gitlab-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/gitlab-mirror.yml)
* [NotABug](https://notabug.org/archy-linux/archy-slstatus) - Not instant updates
* [Codeberg](https://codeberg.org/archy-linux/archy-slstatus) - [![Mirror the repo to codeberg](https://github.com/archy-linux/archy-slstatus/actions/workflows/codeberg-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/codeberg-mirror.yml)
* [Gitea](https://gitea.com/archy-linux/archy-slstatus) - [![Mirror the repo to Gitea](https://github.com/archy-linux/archy-slstatus/actions/workflows/gitea-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/gitea-mirror.yml)
* [Gitdab](https://gitdab.com/archy-linux/archy-slstatus) - [![Mirror the repo to Gitdab](https://github.com/archy-linux/archy-slstatus/actions/workflows/gitdab-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/gitdab-mirror.yml)
* [Pagure](https://pagure.io/archy-slstatus) - [![Mirror the repo to pagure](https://github.com/archy-linux/archy-slstatus/actions/workflows/pagure-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/pagure-mirror.yml)
* [Bitbucket](https://bitbucket.org/archy-linux/archy-slstatus) - [![Mirror the repo to bitbucket](https://github.com/archy-linux/archy-slstatus/actions/workflows/bitbucket-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/bitbucket-mirror.yml)
* [disroot](https://git.disroot.org/archy-linux/archy-slstatus) - [![Mirror the repo to disroot](https://github.com/archy-linux/archy-slstatus/actions/workflows/disroot-mirror.yml/badge.svg)](https://github.com/archy-linux/archy-slstatus/actions/workflows/disroot-mirror.yml)

BIN
screenshots/1.0.0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB