diff options
Diffstat (limited to 'source/l/hal-info/hal-info.SlackBuild')
-rwxr-xr-x | source/l/hal-info/hal-info.SlackBuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/source/l/hal-info/hal-info.SlackBuild b/source/l/hal-info/hal-info.SlackBuild index fa61d8bea..5f527f584 100755 --- a/source/l/hal-info/hal-info.SlackBuild +++ b/source/l/hal-info/hal-info.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright 2007, 2008 Robby Workman, Northport, AL, USA -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2007-2010 Robby Workman, Northport, AL, USA +# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,21 +22,21 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=hal-info -VERSION=${VERSION:-20090716} +PKGNAM=hal-info +VERSION=${VERSION:-20091130} ARCH=noarch BUILD=${BUILD:-1} CWD=$(pwd) TMP=${TMP:-/tmp} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$PKGNAM rm -rf $PKG mkdir -p $TMP $PKG cd $TMP || exit 1 -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 -cd $PRGNAM-$VERSION || exit 1 +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 +cd $PKGNAM-$VERSION || exit 1 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -44,6 +44,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Apply a couple of patches from git +zcat $CWD/patches/quirk-LG_X110-keyboard.patch.gz | patch -p1 --verbose || exit 1 +zcat $CWD/patches/quirk-acer_aspire_hotkey.patch.gz | patch -p1 --verbose || exit 1 + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -52,14 +56,14 @@ find . \ make || exit 1 make install DESTDIR=$PKG || exit 1 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ AUTHORS COPYING* HACKING INSTALL NEWS README* \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PKGNAM-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz |