summaryrefslogtreecommitdiff
path: root/community/uudeview/PKGBUILD
blob: 939835c234c34b40f5791d55c48a9ec85f1f5371 (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
31
32
33
34
35
36
37
# $Id: PKGBUILD 100326 2013-11-02 09:31:41Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: kmaster <kmaster12@sasktel.net>

pkgname=uudeview
pkgver=0.5.20
pkgrel=11
pkgdesc="UUDeview helps transmitting & receiving 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/uudeview-$pkgver/uulib
  autoreconf
  cd $srcdir/$pkgname-$pkgver
  autoreconf
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  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
}