mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
ham/gqrx: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4d3d7b846e
commit
f685c66b74
2 changed files with 13 additions and 9 deletions
|
@ -22,9 +22,11 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Modified by Mario Preksavec <mario@slackware.hr>
|
||||
|
||||
PRGNAM=gqrx
|
||||
VERSION=${VERSION:-2.3.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -77,13 +79,15 @@ qmake \
|
|||
QMAKE_CFLAGS="$SLKCFLAGS" \
|
||||
QMAKE_CXXFLAGS="$SLKCFLAGS" ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# make install leaks, do it manually
|
||||
install -D -m 755 -p gqrx $PKG/usr/bin/gqrx
|
||||
|
||||
cd ..
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
|
||||
install -m644 gqrx.desktop $PKG/usr/share/applications/gqrx.desktop
|
||||
|
|
Loading…
Reference in a new issue