system/android-udev-rules: Updated for version 2023.12.07.

Switch to noarch as well

Signed-off-by: Reza Talebi <reza.talebi.73@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Reza Talebi 2023-12-09 20:11:13 +03:30 committed by Willy Sudiarto Raharjo
parent db23d490fd
commit 50a069ce3f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 5 additions and 28 deletions

View File

@ -27,22 +27,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=android-udev-rules
SRCNAM=51-android.rules
VERSION=${VERSION:-2023.11.24}
VERSION=${VERSION:-2023.12.07}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
ARCH=noarch
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -53,20 +44,6 @@ DEST=etc/udev/rules.d
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG

View File

@ -1,8 +1,8 @@
PRGNAM="android-udev-rules"
VERSION="2023.11.24"
VERSION="2023.12.07"
HOMEPAGE="https://github.com/M0Rf30/android-udev-rules"
DOWNLOAD="https://raw.githubusercontent.com/M0Rf30/android-udev-rules/20231124/51-android.rules"
MD5SUM="d25181d188097b66aa7dbbab0cd4e8e9"
DOWNLOAD="https://raw.githubusercontent.com/M0Rf30/android-udev-rules/20231207/51-android.rules"
MD5SUM="666d686561da933b1593ba6956f4eebb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="android-tools"