Created
June 4, 2017 09:58
-
-
Save octomike/741ae9d22e1fb47c470903992b8193d7 to your computer and use it in GitHub Desktop.
i3lock-fancy-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Dolores Portalatin <meskarune at gmail dot com> | |
# Contributor: burntcookie90 <aur at vishnurajeevan dot com> | |
_gitname=i3lock-fancy | |
pkgname=i3lock-fancy-git | |
pkgver=r126.765a37f | |
pkgrel=1 | |
pkgdesc="i3lock-color script: blurs background, adds lock icon and text, offers dark/light background detection." | |
arch=('i686' 'x86_64') | |
url="https://github.com/meskarune/i3lock-fancy" | |
license=('MIT') | |
depends=('coreutils' 'awk' 'bash' 'util-linux' 'imagemagick' 'i3lock') | |
optdepends=('wmctrl: minimize windows before locking' | |
'scrot: alternative screenshot creator' | |
'maim: alternative screenshot creator' | |
'gnome-screenshot: alternative screenshot creator') | |
makedepends=('git') | |
provides=('i3lock-fancy') | |
source=("git+https://github.com/meskarune/$_gitname.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd "$_gitname" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} | |
package() { | |
cd "${srcdir}/$_gitname" | |
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_gitname/LICENSE" | |
install -dm755 "$pkgdir/usr/share/$_gitname/icons" | |
install -m644 -t "$pkgdir/usr/share/$_gitname/icons" icons/* | |
install -dm755 "$pkgdir/usr/bin" | |
install -Dm755 lock "$pkgdir/usr/share/$_gitname/" | |
ln -s "/usr/share/$_gitname/lock" "$pkgdir/usr/bin/i3lock-fancy" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment