diff options
author | Deposite Pirate | 2020-01-24 15:14:57 +0100 |
---|---|---|
committer | Deposite Pirate | 2020-01-24 15:14:57 +0100 |
commit | 07135ea8177a02b30fa4537ffd590a5d964ded2d (patch) | |
tree | 01fc41e661298ce048052dfdb19b19fca65cad1b /PKGBUILD | |
parent | 1ba442202d09e07bb257d8c80e1b601d7abf2351 (diff) | |
download | aur-gopherus-svn.tar.gz |
* Update gopherus-svn
modified: .SRCINFO
modified: PKGBUILD
new file: gopherus-1.2-ncheader.patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -3,9 +3,9 @@ # Upstream: https://git.metalpunks.info/arch-ports _pkgname=gopherus -_pkgver=1.1 +_pkgver=1.2 pkgname=$_pkgname-svn -pkgver=1.1.r123 +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() { |