summaryrefslogtreecommitdiff
path: root/user/oclock/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/oclock/APKBUILD')
-rw-r--r--user/oclock/APKBUILD37
1 files changed, 37 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"