From 53a778480adf1b367f74e3421c782c991416cb40 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Fri, 24 Jan 2020 15:13:38 +0100 Subject: * Update gopherus-svn modified: gopherus-svn/.SRCINFO modified: gopherus-svn/PKGBUILD new file: gopherus-svn/gopherus-1.2-ncheader.patch --- gopherus-svn/PKGBUILD | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'gopherus-svn/PKGBUILD') diff --git a/gopherus-svn/PKGBUILD b/gopherus-svn/PKGBUILD index d1806b4..fa65ff5 100644 --- a/gopherus-svn/PKGBUILD +++ b/gopherus-svn/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=gopherus _pkgver=1.2 pkgname=$_pkgname-svn -pkgver=1.2.r181 +pkgver=1.2.r221 pkgrel=1 pkgdesc="Gopher client" arch=('i686' 'x86_64') @@ -16,9 +16,11 @@ optdepends=('sdl2') makedepends=('subversion') conflicts=('gopherus') provides=('gopherus') -source=("$_pkgname::svn://svn.code.sf.net/p/gopherus/code" - 'gopherus.desktop') +source=(${_pkgname}::svn://svn.code.sf.net/p/gopherus/code + gopherus-1.2-ncheader.patch + gopherus.desktop) sha256sums=('SKIP' + '9637df8df7dfa15232b5898170b1d1d0a485628d77c2a40150db914c4fb2b866' 'b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21') pkgver() { @@ -27,9 +29,16 @@ pkgver() { printf "${_pkgver}.r%s" "${ver//[[:alpha:]]}" } +prepare() { + cd "${_pkgname}/trunk" + + # Fix curses header location + patch -p1 -i ../../gopherus-1.2-ncheader.patch +} + build() { cd "${_pkgname}/trunk" - make -f Makefile.lin CFLAGS="${CFLAGS}" + make -f Makefile.lin CFLAGS="${CFLAGS}" gopherus gopherus-sdl } package() { -- cgit v1.2.3-70-g09d2