diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-15 18:49:53 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:36 +0700 |
commit | e5c78de2cbf2a0fc5c06b9ba429a410440c1557f (patch) | |
tree | 171580694a1bebd41d91eecf885349c2b3ab3a51 | |
parent | 2c6768242699ec240ddf5234bf46ce046a79ddc6 (diff) |
libraries/libgweather4: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libgweather4/libgweather4.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libraries/libgweather4/libgweather4.SlackBuild b/libraries/libgweather4/libgweather4.SlackBuild index f69003c722ebd..8d2f5fa7ec330 100644 --- a/libraries/libgweather4/libgweather4.SlackBuild +++ b/libraries/libgweather4/libgweather4.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230515 bkw: Modified by SlackBuilds.org to match our template. +# PRGNAM1 renamed to SRCNAM, and derive PKG from PRGNAM, not PRGNAM1. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libgweather4 @@ -33,7 +36,7 @@ PKGTYPE=${PKGTYPE:-tgz} # In purist sense, it's still libgweather but version 4 has different # API and seen as a seperate library than version 3. It can be even installed # next to version 3. -PRGNAM1=libgweather +SRCNAM=libgweather GTKDOC=${GTKDOC:-no} INTROSPECTION=${INTROSPECTION:-yes} @@ -87,7 +90,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then fi TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM1 +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then @@ -109,9 +112,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM1-$VERSION -tar xvf $CWD/$PRGNAM1-$VERSION.tar.xz -cd $PRGNAM1-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |