mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-10 21:50:39 +00:00
71 lines
1.7 KiB
RPMSpec
71 lines
1.7 KiB
RPMSpec
%define debug_package %nil
|
|
|
|
Name: armcord
|
|
Version: 3.3.1
|
|
Release: 1%?dist
|
|
License: OSL-3.0
|
|
Summary: Custom lightweight Discord client designed to enhance your experience
|
|
URL: https://github.com/ArmCord/ArmCord
|
|
Group: Applications/Internet
|
|
Source1: launch.sh
|
|
Packager: madonuko <mado@fyralabs.com>
|
|
Requires: electron xdg-utils
|
|
BuildRequires: git-core add-determinism pnpm
|
|
Conflicts: armcord-bin
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
ArmCord is a custom client designed to enhance your Discord experience
|
|
while keeping everything lightweight.
|
|
|
|
%prep
|
|
rm -rf *
|
|
git clone %url .
|
|
git checkout v%version
|
|
|
|
cat <<EOF > armcord.desktop
|
|
[Desktop Entry]
|
|
Name=ArmCord
|
|
Comment=%summary
|
|
GenericName=Internet Messenger
|
|
Type=Application
|
|
Exec=/usr/bin/armcord
|
|
Icon=armcord
|
|
Categories=Network;InstantMessaging;
|
|
StartupWMClass=armcord
|
|
Keywords=discord;armcord;vencord;shelter;electron;
|
|
EOF
|
|
|
|
|
|
%build
|
|
pnpm install --no-frozen-lockfile
|
|
pnpm run packageQuick
|
|
|
|
|
|
%install
|
|
install -Dm644 dist/*-unpacked/resources/app.asar %buildroot/usr/share/armcord/app.asar
|
|
|
|
install -Dm755 %SOURCE1 %buildroot/usr/bin/armcord
|
|
install -Dm644 armcord.desktop %buildroot/usr/share/applications/ArmCord.desktop
|
|
install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/armcord.png
|
|
|
|
%files
|
|
%doc README.md
|
|
%license license.txt
|
|
/usr/bin/armcord
|
|
/usr/share/applications/ArmCord.desktop
|
|
/usr/share/pixmaps/armcord.png
|
|
/usr/share/armcord/app.asar
|
|
|
|
%changelog
|
|
* Mon Aug 26 2024 madonuko <mado@fyralabs.com> - 3.3.0-1
|
|
- Update to license.txt
|
|
|
|
* Sat Jun 17 2023 windowsboy111 <windowsboy111@fyralabs.com> - 3.2.0-2
|
|
- Remove libnotify dependency.
|
|
- Fix desktop entry.
|
|
- Set as noarch package because there are not binary files.
|
|
|
|
* Sat May 6 2023 windowsboy111 <windowsboy111@fyralabs.com> - 3.1.7-1
|
|
- Initial package
|