summaryrefslogtreecommitdiff
path: root/user/oclock
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 07:43:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 07:43:36 +0000
commit9834ee5b03161012d8d3b6ec56a8ae6163982d0b (patch)
treef8e0928a80318dc2db327358aa3202c6565d71e4 /user/oclock
parent51c20f24161e3c5942cd092181509e30e6b7cbb0 (diff)
downloadpackages-9834ee5b03161012d8d3b6ec56a8ae6163982d0b.tar.gz
packages-9834ee5b03161012d8d3b6ec56a8ae6163982d0b.tar.bz2
packages-9834ee5b03161012d8d3b6ec56a8ae6163982d0b.tar.xz
packages-9834ee5b03161012d8d3b6ec56a8ae6163982d0b.zip
user/oclock: new package
Diffstat (limited to 'user/oclock')
-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"