summaryrefslogtreecommitdiff
path: root/community/uudeview/PKGBUILD
blob: 8626aa347e1c7df72644cdf7463c7e36b5381c9d (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
# $Id: PKGBUILD 65361 2012-02-21 02:21:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: kmaster <kmaster12@sasktel.net>

pkgname=uudeview
pkgver=0.5.20
pkgrel=10
pkgdesc="UUDeview helps transmitting & recieving binary files using mail or newsgroups. Includes library files."
arch=('i686' 'x86_64')
url="http://www.fpx.de/fp/Software/UUDeview/"
license=('GPL')
optdepends=('tk: for GUI')
source=(http://www.fpx.de/fp/Software/UUDeview/download/$pkgname-$pkgver.tar.gz)
md5sums=('0161abaec3658095044601eae82bbc5b')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
  make prefix=$pkgdir/usr MANDIR=$pkgdir/usr/share/man install
  install -d $pkgdir/usr/lib/uudeview
  install -d $pkgdir/usr/include/uudeview

  cd $srcdir/uudeview-$pkgver/uulib
  ./configure --prefix=/usr
  make
  cp -v *.o $pkgdir/usr/lib/uudeview
  cp -v *.a $pkgdir/usr/lib/uudeview
  cp -v *.h $pkgdir/usr/include/uudeview
}