blob: d6287f1e687c131ddcd598e28843e3ee8fcec007 (
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
39
40
41
42
43
44
45
46
|
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=xautolock
pkgver=2.2
pkgrel=4
pkgdesc="An automatic X screen-locker/screen-saver"
url="ftp://ibiblio.org/pub/Linux/X11/screensavers/"
arch="all !aarch64"
license="GPL-2.0"
depends=""
depends_dev="imake xorg-server-dev libxscrnsaver-dev xorg-cf-files"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$pkgver.tgz
processwait.patch"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
xmkmf
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
make MANPATH=/usr/share/man DESTDIR="$pkgdir" install.man
}
md5sums="9526347a202694ad235d731d9d3de91f xautolock-2.2.tgz
ce0533325dbe894944347189faccdd7f processwait.patch"
sha256sums="11f0275175634e6db756e96f5713ec91b8b1c41f8663df54e8a5d27dc71c4da2 xautolock-2.2.tgz
30fc12fa13a34c22d46a3cc9ded164a997d47058208a405de6d4af03a3ca01b4 processwait.patch"
sha512sums="5f9dcc25cda706610e77a74235c4b421ca3a833d154b1a269057f0774579e1c6ec36fe0e5be5fadd6942ce8c1640a760f891397586b162e6024b524635153d04 xautolock-2.2.tgz
006398a2d73a5b7441536badf933f9764394ca0d09dc9659d4a6ad04c95619d7e57030bf1010a16a7732dd90449af5a23571c8834efeb323ebb91d004da0e8ed processwait.patch"
|