blob: a24662560b55a1721b071db76088e4d79f1bf03c (
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
|
# Contributor: aksr <aksr at t-com dot me>
pkgname=suck
pkgver=4.3.2
pkgrel=4
pkgdesc='Download news from remote NNTP server.'
url='http://linux.maruhn.com/sec/sucks.html'
license=('CPL')
arch=('i686' 'x86_64')
depends=('openssl-1.1')
optdepends=('perl')
source=("http://sunsite.unc.edu/pub/Linux/system/news/transport/${pkgname}-${pkgver}.tar.gz")
sha256sums=('c98dd04d1fe6914867fa509821243d5e63d1159a238f38f6c01e19e266b51788')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --mandir=\$prefix/share/man
make
}
package() {
cd $pkgname-$pkgver
make prefix=$pkgdir/usr install
# documentation and samples
mkdir -p $pkgdir/usr/share/doc/suck
cp -r CHANGELOG README README.Xover sample/suckkillfile.sample \
sample/sucknewsrc.sample sample/suckothermsgs.sample \
$pkgdir/usr/share/doc/suck
chmod 644 $pkgdir/usr/share/doc/suck/*
# manpages
mkdir -p $pkgdir/usr/share/man
cp -r man/ $pkgdir/usr/share/man/man1
chmod 644 $pkgdir/usr/share/man/man1/*
}
|