summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/uudeview/PKGBUILD
blob: cdb3a817d9d06c646766da96eb9b7199b1b56024 (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,v 1.5 2008/09/23 12:49:17 sergej Exp $
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
# Maintainer: kmaster <kmaster12@sasktel.net>

pkgname=uudeview
pkgver=0.5.20
pkgrel=6
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 $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  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
}