summaryrefslogblamecommitdiff
path: root/user/xautolock/APKBUILD
blob: 71fd17994233c97838a6e938a6dbb75081ec720a (plain) (tree)





























                                                                                                                                                               
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xautolock
pkgver=2.2
pkgrel=4
pkgdesc="An automatic X screen-locker/screen-saver"
url="http://ibiblio.org/pub/Linux/X11/screensavers/"
arch="all" # this might not build on aarch64? removed from alpine commit
license="GPL-2.0"
options="!check"  # This package has no testsuite
depends=""
makedepends="$depends_dev imake xorg-server-dev libxscrnsaver-dev xorg-cf-files"
subpackages="$pkgname-doc"
source="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$pkgver.tgz
	processwait.patch"

build() {
   cd "$builddir"
   xmkmf
   make
}

package() {
   cd "$builddir"
   make DESTDIR="$pkgdir" install
   make MANPATH=/usr/share/man DESTDIR="$pkgdir" install.man
}

sha512sums="5f9dcc25cda706610e77a74235c4b421ca3a833d154b1a269057f0774579e1c6ec36fe0e5be5fadd6942ce8c1640a760f891397586b162e6024b524635153d04  xautolock-2.2.tgz
3242d01e394f8b84946d7d7fca9a87f2e17783352e180e43470737d3a2e4a7eb15f1a514dcd98118b6491895ab56d3cef29d4abb32b5a341c73efaa2a7ff323a  processwait.patch"