system/razergenie: Updated for version 1.0.0.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c1495a90f4
commit
795bcbbfd0
|
@ -25,11 +25,13 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=razergenie
|
||||
VERSION=${VERSION:-0.9.0_fa4e466}
|
||||
VERSION=${VERSION:-1.0.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
SRCNAM=RazerGenie
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
|
@ -69,9 +71,10 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
cd $SRCNAM-$VERSION
|
||||
tar -xvf $CWD/libopenrazer-0.1.0.tar.gz --one-top-level=subprojects/libopenrazer --strip-components=1
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -93,12 +96,17 @@ cd build
|
|||
--sysconfdir=/etc
|
||||
ninja
|
||||
DESTDIR=$PKG ninja install
|
||||
cd ../
|
||||
|
||||
mkdir subprojects/libopenrazer/build
|
||||
cd subprojects/libopenrazer/build
|
||||
meson ..
|
||||
ninja
|
||||
cd ../../../
|
||||
|
||||
# we have to manually install this required library
|
||||
install -Dm755 subprojects/libopenrazer/libopenrazer.so.0.0.1 \
|
||||
$PKG/usr/lib${LIBDIRSUFFIX}/libopenrazer.so.0.0.1
|
||||
|
||||
cd ..
|
||||
install -Dm755 subprojects/libopenrazer/build/libopenrazer.so.0.1.0 \
|
||||
$PKG/usr/lib${LIBDIRSUFFIX}/libopenrazer.so.0.1.0
|
||||
|
||||
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
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="razergenie"
|
||||
VERSION="0.9.0_fa4e466"
|
||||
VERSION="1.0.0"
|
||||
HOMEPAGE="https://github.com/z3ntu/RazerGenie"
|
||||
DOWNLOAD="https://www.dropbox.com/s/28nbrcnozb2aavv/razergenie-0.9.0_fa4e466.tar.gz"
|
||||
MD5SUM="f142d3ec3dca9d8714636179cc3ddcd6"
|
||||
DOWNLOAD="https://github.com/z3ntu/RazerGenie/archive/v1.0.0/RazerGenie-1.0.0.tar.gz \
|
||||
https://github.com/z3ntu/libopenrazer/archive/v0.1.0/libopenrazer-0.1.0.tar.gz"
|
||||
MD5SUM="83b98a6e97b98cd997919a7edb61d4a5 \
|
||||
5c4af17ddce7ebc9bf781a7d5d78f30a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="openrazer-daemon"
|
||||
|
|
Loading…
Reference in New Issue