summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 877dc8946f02294fbff30c8290811f64dc3b428d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Brian Bidulock <bidulock@openss7.org>

pkgname=wmclock
pkgver=1.0.16
pkgrel=1
pkgdesc="Dockable clock applet for Window Maker"
arch=('i686' 'x86_64')
url="http://www.dockapps.net/wmclock/"
license=("GPL")
depends=('libxpm')
optdepends=('windowmaker')
source=("https://www.dockapps.net/download/$pkgname-$pkgver.tar.gz")
sha256sums=('3f8bb5df3160d5919d19cf26d45449e6e1260d2a2f485e61f35e64a49639a2d3')

prepare() {
  cd dockapps-*
  autoreconf -fiv
}

build() {
  cd dockapps-*
  ./configure --prefix=/usr
  make V=0
}

package() {
  cd dockapps-*
  make DESTDIR="${pkgdir}" install
  install -Dm644 README "${pkgdir}"/usr/share/doc/wmclock/README
}