desktop/river: Mark as x86_64.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-05-16 07:52:12 +07:00
parent 0711c397c7
commit 3c318738e6
2 changed files with 12 additions and 12 deletions

View file

@ -24,10 +24,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=river
VERSION=${VERSION:-0.1.3}
PRGNAM=river
VERSION=${VERSION:-0.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
@ -43,9 +43,9 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
TMP=${TMP:-/tmp/SBo}
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@ -61,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
set -e
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -76,8 +76,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
DESTDIR=$PKG zig build install -Drelease-safe -Dxwayland -Dman-pages \
--prefix '/usr'
DESTDIR=$PKG zig build install -Drelease-safe -Dxwayland -Dman-pages -Dcpu=baseline \
--prefix '/usr'
cp -r $PKG/usr/share/man /$PKG/usr/man
rm -r $PKG/usr/share/man

View file

@ -1,10 +1,10 @@
PRGNAM="river"
VERSION="0.1.3"
HOMEPAGE="https://github.com/riverwm/river"
DOWNLOAD="https://github.com/riverwm/river/releases/download/v0.1.3/river-0.1.3.tar.gz"
MD5SUM="12b1caba61c9e174bc17f76940d3a2c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/riverwm/river/releases/download/v0.1.3/river-0.1.3.tar.gz"
MD5SUM_x86_64="12b1caba61c9e174bc17f76940d3a2c0"
REQUIRES="wlroots zig"
MAINTAINER="Damian Perticone"
EMAIL="mjolnirdam@gmail.com"