blob: 6dfae1c9c885e4eb6a7afdc37855865b4b6d8d2e (
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
|
# Maintainer: Raymond Li <aur@raymond.li>
# Co-maintainer: Wilsson Martee <wilssonm@gmail.com>
pkgname=i3lock-color
pkgver=2.13.c.5
pkgrel=3
pkgdesc="The world's most popular non-default computer lockscreen."
arch=('i686' 'x86_64')
url="https://github.com/Raymo111/i3lock-color"
license=('MIT')
depends=('xcb-util-image' 'pam' 'libev' 'cairo' 'libxkbcommon-x11'
'libjpeg-turbo' 'xcb-util-xrm' 'pkgconf')
provides=('i3lock' 'i3lock-color')
conflicts=('i3lock' 'i3lock-color-git')
backup=('etc/pam.d/i3lock')
source=("${url}/archive/$pkgver.tar.gz")
sha256sums=('46f15cbbf339873266e014f70b5e1ec02177f0295302b615a7bd85bef40d8ad2')
build() {
cd "$pkgname-$pkgver"
autoreconf -fi
./configure --prefix="$pkgdir/usr/" \
--sysconfdir="$pkgdir/etc/" \
--enable-debug=no \
--disable-sanitizers
awk '!/all-configured/' Makefile > Makefile.new
mv Makefile.new Makefile
make
}
package() {
cd "$pkgname-$pkgver"
make install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 i3lock-bash "${pkgdir}/usr/share/bash-completion/completions/i3lock"
install -Dm644 i3lock-zsh "${pkgdir}/usr/share/zsh/vendor-completions/_i3lock"
}
|