From 38fca8ceae493f145c10007d32ff409ab5d9d189 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Nov 2015 22:27:01 +0100 Subject: add newsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- newsd/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 newsd/PKGBUILD (limited to 'newsd/PKGBUILD') diff --git a/newsd/PKGBUILD b/newsd/PKGBUILD new file mode 100644 index 0000000..89d08be --- /dev/null +++ b/newsd/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=newsd +pkgver=1.44 +pkgrel=1 +pkgdesc='Standalone local nntp server' +url='http://www.msweet.org/projects.php?Z4' +arch=('i686' 'x86_64') +license=('GPL2') +depends=(gcc-libs) +makedepends=(gcc-libs perl sed) +source=("http://www.msweet.org/files/project4/newsd-1.44-source.tar.gz" + 0001-Fix-some-errors.patch) +sha256sums=(e6d97cc347bc8f897cfa4c2f4aa80690fa7018efebc39555b1ab4aa19edee406 + 75d69ea858b55f60581e19ce18925b6a56da1f869aff8c0fcac9feb2c4924c58) + + + +build() +{ + cd "${srcdir}/newsd-${pkgver}" + ./configure --sbindir=/usr/bin + patch -Np1 -i ../0001-Fix-some-errors.patch + make +} + +package() +{ + cd "${srcdir}/newsd-${pkgver}" + make install DESTDIR="${pkgdir}" +} + -- cgit v1.2.3-70-g09d2