From 0dc82e20198da22b48f038766d85d533c2fe640f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 31 Dec 2018 04:17:33 +0000 Subject: user/beforelight: new package --- user/beforelight/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user/beforelight/APKBUILD (limited to 'user') diff --git a/user/beforelight/APKBUILD b/user/beforelight/APKBUILD new file mode 100644 index 000000000..88fef1821 --- /dev/null +++ b/user/beforelight/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=beforelight +pkgver=1.0.5 +pkgrel=0 +pkgdesc="Example screen saver for X.Org" +url="https://www.X.Org/" +arch="all" +license="X11" +depends="" +makedepends="util-macros libx11-dev libxscrnsaver-dev libxt-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/beforelight-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + default_prepare + chmod a+w config.sub + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f6cc794159cda89ac060a43d190fa72419dbcf503a97093b4c0f05315389085ff804c2891e00da2843709e97633973010165f9d68ceb0dcc76eed150f9c75968 beforelight-1.0.5.tar.bz2" -- cgit v1.2.3-70-g09d2