summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36d740210820d9fca2b3cb15b7c7766ea85b309c (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
32
33
34
35
36
37
38
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Mario Bl├Ąttermann <mariobl@gnome.org>
# Contributor: Gimmeapill <gimmeapill at gmail dot com>

pkgname=wmcalclock
_pkgname=wmCalClock
pkgver=1.25
pkgrel=8
pkgdesc="A Calendar clock [WindowMaker dockapp] with antialiased text"
arch=('i686' 'x86_64')
depends=('libxpm')
license=('GPL')
#source=("http://gentoo.osuosl.org/distfiles/$_pkgname-$pkgver.tar.gz")
#source=(http://dockapps.windowmaker.org/download.php/id/16/$_pkgname-$pkgver.tar.gz)
#source=($_pkgname-$pkgver.tar.gz)
source=("http://pkgs.fedoraproject.org/repo/pkgs/wmCalClock/wmCalClock-1.25.tar.gz/md5/70c47ec1d8f8ec7e3ed7eb2d3105d371/wmCalClock-1.25.tar.gz"
	"common.patch")
#url="http://dockapps.windowmaker.org/file.php/id/9"
url="http://web.archive.org/web/20121018121242/http://dockapps.windowmaker.org/file.php/id/9"
md5sums=('70c47ec1d8f8ec7e3ed7eb2d3105d371'
         '39bf956d85b204376f678191b2ceba5b')

prepare() {
  cd "$_pkgname-$pkgver/Src"
  patch -Np3 -b -z .orig <../../common.patch
}

build() {
  cd "$_pkgname-$pkgver/Src"
  make
}
package() {
  cd "$_pkgname-$pkgver/Src"
  install -Dm0755 wmCalClock   "$pkgdir/usr/bin/wmCalClock"
  install -Dm0655 wmCalClock.1 "$pkgdir/usr/share/man/man1/wmCalClock.1"
}