mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 677918a772)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Name: vpkedit
|
||||
Version: 4.4.2
|
||||
Release: 2%?dist
|
||||
Release: 3%?dist
|
||||
Summary: A CLI/GUI tool to create, read, and write several pack file formats
|
||||
License: MIT
|
||||
URL: https://github.com/craftablescience/VPKEdit
|
||||
@@ -27,7 +27,8 @@ new VPKs.
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_INSTALL_PREFIX=%_libdir/%name \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
# -DVPKEDIT_BUILD_LIBC=ON
|
||||
%cmake_build
|
||||
|
||||
@@ -35,7 +36,7 @@ new VPKs.
|
||||
%install
|
||||
%cmake_install
|
||||
pushd %buildroot%_libdir/%name
|
||||
rm -rf libQt*
|
||||
rm -rf {libQt*,*.md,LICENSE}
|
||||
popd
|
||||
ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit
|
||||
ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli
|
||||
|
||||
Reference in New Issue
Block a user