summaryrefslogtreecommitdiff
path: root/community/uudeview/PKGBUILD
blob: 6e3ef0d5b788279e4bad80e438b3731b2fff6e21 (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 67722 2012-03-14 09:04:31Z 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 & receiving binary files using mail or newsgroups. Includes library files."
arch=('i686' 'x86_64' 'mips64el')
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
}