blob: 065fad750353692fdbe3455344c8575bee72de6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Sven Karsten Greiner <sven@sammyshp.de>
pkgname=i3lockmore-git
pkgver=r14.2cfed53
pkgrel=1
pkgdesc='A wrapper for i3lock that adds additional functionality'
arch=('any')
url='https://github.com/SammysHP/i3lockmore'
license=('MIT')
depends=('i3lock' 'imagemagick' 'xorg-xset' 'xorg-xrandr')
makedepends=('git')
source=("${pkgname%-git}::git+https://github.com/SammysHP/${pkgname%-git}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm755 i3lockmore "${pkgdir}/usr/bin/i3lockmore"
install -Dm644 lock-icon.png "${pkgdir}/usr/share/i3lockmore/lock-icon.png"
install -Dm644 i3lockmore.1 "${pkgdir}/usr/share/man/man1/i3lockmore.1"
}
|