1 # Maintainer: Beej Jorgensen <beej@beej.us>
5 pkgdesc="Harmonic tide clock and tide predictor"
7 url="http://www.flaterco.com/xtide/xtide.html"
9 depends=('libxaw' 'zlib' 'libxpm' 'libpng' 'libtcd')
11 backup=("etc/$pkgname/$pkgname.conf")
12 source=('ftp://ftp.flaterco.com/xtide/harmonics-dwf-20110410-free.tar.bz2'
13 'ftp://ftp.flaterco.com/xtide/harmonics-dwf-20110410-nonfree.tar.bz2'
14 'ftp://ftp.flaterco.com/xtide/wvs.tar.bz2'
15 "ftp://ftp.flaterco.com/xtide/$pkgname-$pkgver.tar.bz2"
16 "$pkgname-$pkgver-aur.patch"
18 noextract=('harmonics-dwf-20110410-free.tar.bz2'
19 'harmonics-dwf-20110410-nonfree.tar.bz2'
22 md5sums=('985c2f69eea343782142fa459fc34128'
23 '7e25432d92674992e3f817573dc9bf17'
24 '56325c8105c7137ced73396f2f2d8221'
25 '1d85890bb13b3345154e0f68831b7ebd'
26 '16a37c21fc8bee1a3485325d735e62bd'
27 '9965593e086a5b53457dc01d9f161784')
31 install -d -m0755 "$pkgdir/usr/share/$pkgname"
32 cd "$pkgdir/usr/share/$pkgname"
33 tar xvf "$srcdir/harmonics-dwf-20110410-free.tar.bz2" -o
34 tar xvf "$srcdir/harmonics-dwf-20110410-nonfree.tar.bz2" -o
35 tar xvf "$srcdir/wvs.tar.bz2" -o
38 install -d -m0755 $pkgdir/etc/$pkgname
39 install -m0644 $srcdir/$pkgname.conf $pkgdir/etc/$pkgname
41 cd "$srcdir/$pkgname-$pkgver"
43 # patch to look for conf in /etc/xtide
44 patch -Np1 < ../$pkgname-$pkgver-aur.patch
46 ./configure --prefix=/usr
48 make DESTDIR="$pkgdir/" install
51 # vim:set ts=2 sw=2 et: