diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-12-31 04:17:33 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-12-31 04:17:33 +0000 |
commit | 0dc82e20198da22b48f038766d85d533c2fe640f (patch) | |
tree | 7f597e994eafdf5abb85c19a54e8f80d57dc98ee /user/beforelight | |
parent | 75e9df91334e6197ac64893526deb2cfb035dad3 (diff) | |
download | packages-0dc82e20198da22b48f038766d85d533c2fe640f.tar.gz packages-0dc82e20198da22b48f038766d85d533c2fe640f.tar.bz2 packages-0dc82e20198da22b48f038766d85d533c2fe640f.tar.xz packages-0dc82e20198da22b48f038766d85d533c2fe640f.zip |
user/beforelight: new package
Diffstat (limited to 'user/beforelight')
-rw-r--r-- | user/beforelight/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |