blob: d006095e8ac5df1337d1fe3b9b425d27ef2b3617 (
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
|
# Maintainer: Ondřej Hruška <ondra@ondrovo.com>
# Original author: Anselm R Garbe <anselm@garbe.us>
pkgname=slock-xtra-git
_pkgname=slock
pkgver=1.3.1.1.gee40bb3
pkgrel=1
pkgdesc='Simple X display locker with adjustable color, auto-unlock option and WM_CLASS = "slock"'
url='https://github.com/MightyPork/slock'
arch=('i686' 'x86_64' 'armv7h')
license=('MIT')
depends=('libx11')
conflicts=('slock')
makedepends=('libxext' 'git')
source=('git://github.com/MightyPork/slock')
sha1sums=('SKIP')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --tags | sed "s|-|.|g"
}
build() {
cd "${srcdir}/${_pkgname}"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
cd "${srcdir}/${_pkgname}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|