mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-05 19:32:18 +00:00
feat: add ubuntu-sdk (#304)
* feat: add ubuntu-sdk * chore: use the latest version as latest sdk Co-authored-by: madomado <wboy111@outlook.com> Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com> --------- Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com> Co-authored-by: madomado <wboy111@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project "pkg" {
|
||||
rpm {
|
||||
spec = "ubuntu-sdk.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/ubuntu-touch-meta
|
||||
%global commit d1dc3b7f6c508cc2e803db3b72fcf1dc0a019afa
|
||||
%forgemeta
|
||||
|
||||
Name: ubuntu-sdk
|
||||
Summary: Assets and icons for Unity
|
||||
Version: 20.04
|
||||
Release: %autorelease
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://gitlab.com/ubports/development/core/ubuntu-touch-meta
|
||||
Source0: %{url}/-/archive/%commit/ubuntu-touch-meta-%commit.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: binutils
|
||||
Recommends: python3-lomiri-click
|
||||
|
||||
%description
|
||||
Theme and icons for Unity.
|
||||
|
||||
%prep
|
||||
%autosetup -n ubuntu-touch-meta-%commit
|
||||
|
||||
%build
|
||||
true
|
||||
|
||||
%install
|
||||
mkdir -m 0755 -p %{buildroot}%{_datadir}/ubports/changelogs %{buildroot}%{_datadir}/click/frameworks
|
||||
|
||||
install -Dm644 changelogs/* %{buildroot}%{_datadir}/ubports/changelogs
|
||||
install -Dm644 frameworks/* %{buildroot}%{_datadir}/click/frameworks
|
||||
|
||||
ln -s %{buildroot}%{_datadir}/click/frameworks/ubuntu-sdk-%{version}.framework %{buildroot}%{_datadir}/click/frameworks/current
|
||||
ln -s %{buildroot}%{_datadir}/ubports/changelogs/%{version} %{buildroot}%{_datadir}/ubports/changelogs/current
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_datadir}/ubports/changelogs/
|
||||
%{_datadir}/click/frameworks/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user