summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 19f65b3f6bfcd6c2e951e24b7890fc4eef320a85 (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
# Maintainer: The-Repo-Club <The-Repo-Club@github.com>
# Contributor: The-Repo-Club <The-Repo-Club@github.com>
pkgname=multimonitorlock
pkgver=2021.01.01
pkgrel=1
pkgdesc="A simple lock script for i3lock-color"
arch=('any')
groups=('therepoclub')
url="https://github.com/The-Repo-Club/${pkgname}"
license=('CC BY-NC-SA 4.0')
depends=('i3lock-color' 'imagemagick' 'xorg-xrandr' 'xorg-xdpyinfo' 'bc' 'bash')
optdepends=('feh: Allows setting wallpaper' 'multimonitorlock-gui: Allows the background to be changed')
makedepends=('git')
conflicts=('multilockscreen-git' 'betterlockscreen' 'betterlockscreen-git')
source=("${pkgname}-$pkgver.tar.gz::${url}/archive/$pkgver.tar.gz")
sha256sums=("92cc4567b4ec95658949aef689a3b095b621eac53c25195d262ef70fe2e299bb")
install=${pkgname}.install

package() {
	cd "$pkgname-$pkgver"
	install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
	install -Dm 644 "system/$pkgname@.service" "$pkgdir/usr/lib/systemd/system/$pkgname@.service"
	install -Dm 644 "examples/config" "$pkgdir/usr/share/doc/$pkgname/examples/config"
	install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}