mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-14 07:30:38 +00:00
add: blahaj crystal (#384)
Signed-off-by: windowsboy111 <wboy111@outlook.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "blahaj.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: blahaj
|
||||
Version: 2.0.1
|
||||
Release: 1%?dist
|
||||
Summary: Gay sharks at your local terminal - lolcat-like CLI tool
|
||||
License: BSD-2-Clause
|
||||
URL: https://blahaj.queer.software
|
||||
Source0: https://github.com/GeopJr/BLAHAJ/archive/refs/tags/v%version.tar.gz
|
||||
BuildRequires: crystal make gcc libyaml-devel pcre-devel
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
Apart from a cute cuddly shark plushie from IKEA, BLÅHAJ is a lolcat-like CLI tool that colorizes your input, shows flags and prints colorful sharks!
|
||||
It has a wide variety of flags/colors to choose from and many options from flag size to whether to colorize by line, word or character.
|
||||
|
||||
%prep
|
||||
%autosetup -n BLAHAJ-%{version}
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
make test_mt
|
||||
|
||||
%files
|
||||
/usr/bin/blahaj
|
||||
|
||||
%changelog
|
||||
* Sat Apr 15 2023 windowsboy111 <windowsboy111@fyralabs.com>
|
||||
- Initial package.
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("GeopJr/BLAHAJ"));
|
||||
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "crystal.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: crystal
|
||||
Version: 1.8.0
|
||||
Release: 1%?dist
|
||||
Summary: The Crystal Programming Language
|
||||
License: Apache-2.0
|
||||
URL: https://crystal-lang.org/
|
||||
Source0: https://github.com/crystal-lang/crystal/releases/download/%version/crystal-%version-1-linux-x86_64-bundled.tar.gz
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n crystal-%version-1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot/usr/bin
|
||||
mkdir -p %buildroot/usr/share
|
||||
mkdir -p %buildroot/usr/lib/crystal
|
||||
install -Dm755 bin/* %buildroot/usr/bin/
|
||||
cp -r share/* %buildroot/usr/share/
|
||||
cp -r lib/crystal/* %buildroot/usr/lib/crystal/
|
||||
|
||||
%files
|
||||
%license /usr/share/licenses/crystal/LICENSE
|
||||
/usr/bin/crystal
|
||||
/usr/lib/crystal/
|
||||
/usr/share/zsh/site-functions/_crystal
|
||||
/usr/share/man/man1/crystal.1.gz
|
||||
/usr/share/crystal/
|
||||
/usr/share/fish/vendor_completions.d/crystal.fish
|
||||
/usr/share/bash-completion/completions/crystal
|
||||
|
||||
/usr/bin/shards
|
||||
/usr/share/man/man1/shards.1.gz
|
||||
/usr/share/man/man5/shard.yml.5.gz
|
||||
|
||||
%changelog
|
||||
* Sat Apr 15 2023 windowsboy111 <windowsboy111@fyralabs.com>
|
||||
- Initial package.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
let html = get("https://crystal-lang.org/");
|
||||
rpm.version(find("Latest release <.+>(.+)<\\/a>", html, 1))
|
||||
Reference in New Issue
Block a user