mirror of
https://github.com/arthur-pbty/optifetch.git
synced 2026-08-01 20:29:33 +02:00
major update
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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.
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user