major update

This commit is contained in:
Puechberty Arthur
2026-06-26 21:41:36 +02:00
parent d30398c705
commit 9e02e75a98
13 changed files with 293 additions and 51 deletions
+22
View File
@@ -0,0 +1,22 @@
# Maintainer: Ton Nom <ton.email@example.com>
pkgname=optifetch
pkgver=1.0.0
pkgrel=1
pkgdesc="Lightweight system info tool written in C"
arch=('x86_64')
url="https://github.com/tonpseudo/optifetch"
license=('MIT')
depends=('glibc')
makedepends=('gcc' 'make')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
# md5sums=('SKIP') # À remplir si tu release une version fixe
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
+13
View File
@@ -0,0 +1,13 @@
Source: optifetch
Section: utils
Priority: optional
Maintainer: Ton Nom <ton.email@example.com>
Build-Depends: gcc, make
Standards-Version: 4.5.0
Package: optifetch
Architecture: amd64
Depends: ${shlibs:Depends}
Description: Lightweight system info tool
Optifetch is a fast, dependency-free system information tool
written in C, similar to Fastfetch and Neofetch.
+27
View File
@@ -0,0 +1,27 @@
Name: optifetch
Version: 1.0.0
Release: 1%{?dist}
Summary: Lightweight system info tool written in C
License: MIT
URL: https://github.com/tonpseudo/optifetch
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
Optifetch is a fast, dependency-free system information tool written in C.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
%files
%{_bindir}/optifetch
%{_datadir}/optifetch/logos/
%config(noreplace) /etc/optifetch.conf