mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e7796a6f87 | |||
| 34443e0a35 |
@@ -9,7 +9,7 @@ URL: https://github.com/craftablescience/VPKEdit
|
||||
Requires: qt6-qtbase hicolor-icon-theme
|
||||
Suggests: qt6-qtwayland
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: cmake git-core gcc gcc-c++ binutils
|
||||
BuildRequires: cmake desktop-file-utils git-core gcc gcc-c++ binutils
|
||||
BuildRequires: cmake(Qt6)
|
||||
BuildRequires: cmake(Qt6Svg)
|
||||
BuildRequires: cmake(Qt6Linguist)
|
||||
@@ -34,7 +34,6 @@ new VPKs.
|
||||
# -DVPKEDIT_BUILD_LIBC=ON
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
pushd %buildroot%_libdir/%name
|
||||
@@ -43,8 +42,10 @@ popd
|
||||
mkdir -p %buildroot%_bindir
|
||||
ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit
|
||||
ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli
|
||||
sed -i 's@Exec=/opt/vpkedit/@Exec=@g' %buildroot%_datadir/applications/vpkedit.desktop
|
||||
%desktop_file_edit -k Exec -v %{_libdir}/vpkedit/vpkedit %buildroot%_datadir/applications/vpkedit.desktop
|
||||
|
||||
%check
|
||||
%desktop_file_validate %buildroot%_datadir/applications/vpkedit.desktop
|
||||
|
||||
%files
|
||||
%doc README.md CODE_OF_CONDUCT.md INSTALL.md CREDITS.md
|
||||
|
||||
Reference in New Issue
Block a user