blob: e86148fcb7666ab4580963d2491112b2b6853103 (
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
|
# Maintainer: Pierce Thompson <pierce at insprill dot net>
_pkgname=i3lock-fancy-rapid
pkgname=$_pkgname-git
pkgver=r19.6eeebd4
pkgrel=2
pkgdesc="A faster implementation of i3lock-fancy"
arch=('x86_64')
url="https://github.com/yvbbrjdr/$_pkgname"
license=('BSD-3-Clause')
depends=('i3lock' 'libx11')
makedepends=('git')
optdepends=('i3lock: Locking support')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$pkgname::git+$url")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
install -Dm755 $_pkgname "$pkgdir/usr/bin/$_pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|