mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
924 B
Bash
24 lines
924 B
Bash
# $Id: PKGBUILD 41507 2009-06-04 20:03:05Z andyrtr $
|
|
# Maintainer: dorphell <dorphell@archlinux.org>
|
|
pkgname=tin
|
|
pkgver=1.8.3
|
|
pkgrel=6
|
|
pkgdesc="Curses based threaded NNTP and spool based UseNet newsreader"
|
|
arch=(i686 x86_64)
|
|
url="http://www.tin.org"
|
|
license=('BSD')
|
|
depends=('ncurses' 'libidn' "icu>=4.2" 'perl')
|
|
source=(ftp://ftp.tin.org/pub/news/clients/tin/stable/$pkgname-$pkgver.tar.bz2 LICENSE)
|
|
md5sums=('e6ed45205020665c097556822b0d575b' '22de35b1bdc6f0df87c93ae794198b21')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
make build || return 1
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
rm -f $startdir/pkg/usr/share/man/man5/mbox.5
|
|
rm -f $startdir/pkg/usr/share/man/man5/mmdf.5
|
|
mv $startdir/pkg/usr/bin/url_handler.sh $startdir/pkg/usr/bin/tin_url_handler.sh
|
|
install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|
}
|