# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Maintainer: kmaster pkgname=uudeview pkgver=0.5.20 pkgrel=7 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 }