blob: 3adb8d95356856ddf3efc34da6ebf71b0fc75e68 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Jamie Tanna <jamie@jamietanna.co.uk>
# Contributor: Alexander Schneider <sailerboy>
pkgname=i3lock-background
pkgver=2.4.1
pkgrel=1
pkgdesc="An improved screenlocker based upon XCB and PAM with better handling of image scaling and centering on multiple monitors."
arch=('i686' 'x86_64')
url="https://github.com/jaseg/i3lock"
license=('MIT')
depends=('xcb-util-image' 'pam' 'libev' 'cairo' 'libxkbcommon' 'libxkbfile')
provides=('i3lock')
conflicts=('i3lock')
makedepends=('git')
source=(git://github.com/jaseg/i3lock.git)
sha1sums=('SKIP')
_gitname="i3lock"
pkgver() {
cd "$srcdir/$_gitname"
git describe --tags | sed 's/-/./g'
}
build() {
cd "$_gitname"
make
gzip i3lock.1
}
package() {
cd "$_gitname"
make DESTDIR="$pkgdir" install
install -Dm644 i3lock.1.gz ${pkgdir}/usr/share/man/man1/i3lock.1.gz
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
make clean
}
# vim:set ts=2 sw=2 et:
|