From 9834ee5b03161012d8d3b6ec56a8ae6163982d0b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 31 Dec 2018 07:43:36 +0000 Subject: user/oclock: new package --- user/oclock/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/oclock/APKBUILD diff --git a/user/oclock/APKBUILD b/user/oclock/APKBUILD new file mode 100644 index 000000000..d75964c02 --- /dev/null +++ b/user/oclock/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=oclock +pkgver=1.0.4 +pkgrel=0 +pkgdesc="The original round X11 clock applet" +url="https://www.X.Org/" +arch="all" +license="X11" +depends="" +makedepends="libx11-dev libxext-dev libxkbfile-dev libxmu-dev libxt-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/oclock-$pkgver.tar.bz2" + +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="6e0d36a84572a153226b2929f2253cb7adc3c9e5e3af168aeaf8c487ade2e43517b271a8e9cdb2a2c4a67ca56ed0b99c194ca63a4a822b68bfc72ca6518335e7 oclock-1.0.4.tar.bz2" -- cgit v1.2.3-70-g09d2