updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / xpsk31 / PKGBUILD
blobadc9a7e026dc711991082ee30f2714f8ab9e684e
1 # Maintainer: WB2FKO <mph at sportscliche dot com>
2 pkgname=xpsk31
3 pkgver=2.1
4 pkgrel=1
5 pkgdesc="PSK31 using X/GTK+"
6 arch=('i686')
7 url="http://5b4az.chronos.org.uk/pkg/psk31/xpsk31/xpsk31.html"
8 license=('GPL')
9 depends=('glade' 'gtk2' 'alsa-lib')
10 source=(http://5b4az.chronos.org.uk/pkg/psk31/$pkgname/$pkgname-$pkgver-beta.tar.bz2)
11 md5sums=('76593f06878e9ded924094c5c0f86099')
13 build() {
14   cd "$srcdir/$pkgname"
15 # It is possible to customize some entries in the header file pskcodec.h; See the documentation
16   ./autogen.sh  --prefix=/usr
17   make
20 check() {
21   cd "$srcdir/$pkgname"
22   make -k check
25 package() {
26   cd "$srcdir/$pkgname"
27   make DESTDIR="$pkgdir/" install
28   mkdir -p $pkgdir/usr/share/$pkgname
29   mkdir -p $pkgdir/usr/share/$pkgname/doc
30   install -m 0644 COPYING $pkgdir/usr/share/$pkgname/doc/
31   install -m 0644 AUTHORS $pkgdir/usr/share/$pkgname/doc/
32   cd "$srcdir/$pkgname/xpsk31"
33 # The user will need to create a directory called xpsk31 in the home
34 # directory and copy the following file xpsk31rc there.  This 
35 # configuration file should be edited as needed (see documentation).
36   install -Dm755 xpsk31rc $pkgdir/usr/share/$pkgname/
37   cp -ra $srcdir/$pkgname/doc/*.* $pkgdir/usr/share/$pkgname/doc/
38   echo -e "\n Please copy xpsk31rc to new directory in $HOME \n"
43 # vim:set ts=2 sw=2 et: