Skip to content

Commit

Permalink
rel for deb
Browse files Browse the repository at this point in the history
  • Loading branch information
surfzoid committed Jul 30, 2023
1 parent 8e8ee4c commit 77fcfbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ HOST_ARCH=$(shell uname -m)
# This is example for Cmake (See https://bugs.debian.org/641051 )
override_dh_auto_configure:
dh_auto_configure -- PREFIX=usr/share
# version=$(grep "Version:" QtVsPlayermga8wally.spec| cut -d ' ' -f 3)
Rel=$(grep "%global Rel" QtVsPlayermga8wally.spec | cut -d ' ' -f 3)
# sed -i 's/\(VERSION = \).*/\1 $version/' QtVsPlayer.pro
sed -i 's/\(RELEASE = \).*/\1 $Rel/' QtVsPlayer.pro

# tar -xf ./lib/$(HOST_ARCH).tar.xz
# mkdir -p usr/lib64/QtVsPlayer
# cp $(HOST_ARCH)/* usr/lib64/QtVsPlayer
Expand Down

0 comments on commit 77fcfbc

Please sign in to comment.