mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-20 14:31:47 +00:00
Updated build for gpicview
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
# GPicView 0.2.5
|
||||
# source: https://downloads.sourceforge.net/lxde/gpicview-0.2.5.tar.xz
|
||||
|
||||
./configure --prefix=/usr $BUILDTRUPLE &&
|
||||
read -p "Compile? " && make -j2 &&
|
||||
read -p "Install? " && sudo -S porg -lD "make install" &&
|
||||
sudo -S sed -i 's/Utility;//' /usr/share/applications/gpicview.desktop
|
43
build-scripts/gpicview.build
Normal file
43
build-scripts/gpicview.build
Normal file
@ -0,0 +1,43 @@
|
||||
#! /bin/bash
|
||||
|
||||
# GPicView
|
||||
# Source: https://downloads.sourceforge.net/lxde/gpicview-0.2.5.tar.xz
|
||||
#
|
||||
# $BUILD = Directory to temporarily install
|
||||
# $PKGS = Directory to store built packages
|
||||
#
|
||||
# DEPS
|
||||
# Required: GTK+2
|
||||
# Recommended: NONE
|
||||
# Optional: NONE
|
||||
|
||||
./configure --prefix=/usr $BUILDTRUPLE &&
|
||||
read -p "Compile?" && make -j2 &&
|
||||
|
||||
sudo -S make DESTDIR=$BUILD install &&
|
||||
|
||||
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
|
||||
cat > /tmp/slack-desc << "EOF"
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
gpicview: gpicview (A Simple and Fast Image Viewer for X)
|
||||
gpicview:
|
||||
gpicview: GPicView is a simple image viewer made for the lxde desktop,
|
||||
gpicview: but has minimal dependencies and low memory usage, depending
|
||||
gpicview: only on gtk+ system libraries
|
||||
gpicview:
|
||||
gpicview:
|
||||
gpicview:
|
||||
gpicview:
|
||||
gpicview:
|
||||
gpicview:
|
||||
EOF
|
||||
sudo -S mv -v /tmp/slack-desc install/ &&
|
||||
sudo -S makepkg -l y -c n $PKGS/gpicview-0.2.5-$(uname -m)-mlfs.txz &&
|
||||
sudo -S rm -rf ${BUILD}/*
|
Reference in New Issue
Block a user