diff options
Diffstat (limited to 'desktop/i3lock/i3lock.SlackBuild')
-rw-r--r-- | desktop/i3lock/i3lock.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/desktop/i3lock/i3lock.SlackBuild b/desktop/i3lock/i3lock.SlackBuild index 6574a0f42973..538f6b5e804f 100644 --- a/desktop/i3lock/i3lock.SlackBuild +++ b/desktop/i3lock/i3lock.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=i3lock -VERSION=${VERSION:-2.10} +VERSION=${VERSION:-2.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,9 +79,12 @@ 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 {} \; -# This patch removes all the PAM-related code, -# and checks the password against shadow instead. -patch -p0 -i $CWD/i3lock-2.10-no-pam.patch +autoreconf --force --install +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-sanitizers \ + --mandir=/usr/man make install DESTDIR=$PKG @@ -98,14 +101,11 @@ chmod 4751 $PKG/usr/bin/i3lock 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 -# Install the manpage -install -Dm644 i3lock.1 $PKG/usr/man/man1/i3lock.1 - find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG LICENSE LICENSE-slock README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |