diff options
Diffstat (limited to 'ham/gqrx/gqrx.SlackBuild')
-rw-r--r-- | ham/gqrx/gqrx.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ham/gqrx/gqrx.SlackBuild b/ham/gqrx/gqrx.SlackBuild index 6c1b2bfdfae3..29d39a956aad 100644 --- a/ham/gqrx/gqrx.SlackBuild +++ b/ham/gqrx/gqrx.SlackBuild @@ -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,15 +79,17 @@ 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 +mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps install -m644 gqrx.desktop $PKG/usr/share/applications/gqrx.desktop install -m644 icons/gqrx.svg $PKG/usr/share/pixmaps/gqrx.png install -m644 icons/gqrx.svg \ |