# Contributor: Leo # Maintainer: Leo pkgname=i3lock-color pkgver=2.12.c pkgrel=0 pkgdesc="Fork of i3lock with extras features" url="https://github.com/PandorasFox/i3lock-color" arch="all" license="BSD-3-Clause" makedepends="libxcb-dev xcb-util-dev linux-pam-dev cairo-dev xcb-util-image-dev fontconfig-dev libev-dev libxkbcommon-dev libjpeg-turbo-dev xcb-util-xrm-dev autoconf automake libtool" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/PandorasFox/i3lock-color/archive/$pkgver.tar.gz" prepare() { default_prepare autoreconf -fi mkdir -p "$builddir"/build } build() { cd build ../configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-sanitizers make } package() { make -C build DESTDIR="$pkgdir" install # Rename to avoid conflict with i3lock mv "$pkgdir"/usr/bin/i3lock "$pkgdir"/usr/bin/i3lock-color mv "$pkgdir"/usr/share/man/man1/i3lock.1 "$pkgdir"/usr/share/man/man1/i3lock-color.1 } sha512sums="2b8ce7b9e41694c6edb2394ba8a47bc05051500aa2ca6f46e082989c7bfed8540e343ffaa514c32b2e2b75f91b224c5b2d5958f1478a6d02ca87726ec876c90e i3lock-color-2.12.c.tar.gz"