summaryrefslogtreecommitdiff
path: root/community/uudeview/PKGBUILD
blob: d26919cd8d64252cfc5ff5e955000be728ac1407 (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 7474 2010-01-07 02:52:30Z dgriffiths $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: kmaster <kmaster12@sasktel.net>

pkgname=uudeview
pkgver=0.5.20
pkgrel=8
pkgdesc="UUDeview helps transmitting & recieving 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 $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1
  mkdir -p $startdir/pkg/usr/lib/uudeview && \
  mkdir -p $startdir/pkg/usr/include/uudeview || return 1

  cd $startdir/src/uudeview-$pkgver/uulib
  ./configure --prefix=/usr
  make || return 1
  cp -v *.o $startdir/pkg/usr/lib/uudeview && \
  cp -v *.a $startdir/pkg/usr/lib/uudeview && \
  cp -v *.h $startdir/pkg/usr/include/uudeview
}