summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: adba20652b6f68376f27d1aa548a89928dedf54b (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
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: Carsten Abele <yonk@yonk.de>

pkgname=newspost
pkgver=2.1.1
pkgrel=4
pkgdesc="A usenet binary autoposter for unix"
url='http://newspost.unixcab.org'
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
source=("http://newspost.unixcab.org/download/${pkgname}-${pkgver}.tar.gz"
        'getline.patch')
sha1sums=('244f31c6e5aa8e41224310295e477ab4a8a17071'
          'c64d67627b72fea3bd23d2c81f2dbfbbddbd1fb2')

prepare() {
  patch -d "${pkgname}-${pkgver}" -Np1 -i ../getline.patch
}

build() {
  make -C "${pkgname}-${pkgver}"
}

package() {
  make -C "${pkgname}-${pkgver}" PREFIX="${pkgdir}/usr/" MANDIR="${pkgdir}/usr/share/man/man1" install
}