diff options
Diffstat (limited to 'user/beforelight/APKBUILD')
-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" |