mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add: HolyC
* chore: Bump changelog date
---------
(cherry picked from commit d9a801eb96)
Signed-off-by: Gilver <roachy@fyralabs.com>
Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "holyc.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
%global ver 0.0.10
|
||||
|
||||
Name: holyc
|
||||
Version: %{ver}~beta
|
||||
Release: 1%{?dist}
|
||||
Summary: HolyC compiler and transpiler
|
||||
License: BSD-2-Clause
|
||||
URL: https://holyc-lang.com
|
||||
Source0: https://github.com/Jamesbarford/holyc-lang/archive/refs/tags/beta-v%{ver}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake-rpm-macros
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: sqlite-devel
|
||||
Packager: Gilver E. <roachy@fyralabs.com>
|
||||
|
||||
%description
|
||||
HolyC is a fun recreational programming language designed by Terry A. Davis.
|
||||
Originally implemented in TempleOS as a general purpose programming language and scripting language for all manner of tasks.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-lang-beta-v%{ver}/src
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DHCC_LINK_SQLITE3="1"
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%license ../COPYING
|
||||
%doc ../README.md
|
||||
%{_bindir}/hcc
|
||||
%{_includedir}/tos.HH
|
||||
|
||||
%changelog
|
||||
* Tue Feb 10 2026 Gilver E. <roachy@fyralabs.com> - 0.0.10~beta-1
|
||||
- Initial package
|
||||
@@ -0,0 +1,7 @@
|
||||
let v = gh("Jamesbarford/holyc-lang");
|
||||
v.crop(6);
|
||||
rpm.global("ver", v);
|
||||
|
||||
if rpm.changed() {
|
||||
rpm.release()
|
||||
}
|
||||
Reference in New Issue
Block a user