diff options
Diffstat (limited to 'gopherus-svn/PKGBUILD')
-rw-r--r-- | gopherus-svn/PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
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() { |