summaryrefslogtreecommitdiff
path: root/gopherus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gopherus/PKGBUILD')
-rw-r--r--gopherus/PKGBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/gopherus/PKGBUILD b/gopherus/PKGBUILD
index 385c87f..f4b74b9 100644
--- a/gopherus/PKGBUILD
+++ b/gopherus/PKGBUILD
@@ -3,7 +3,7 @@
# Upstream: https://git.metalpunks.info/arch-ports
pkgname=gopherus
-pkgver=1.1
+pkgver=1.2
pkgrel=1
pkgdesc="Gopher client"
arch=('i686' 'x86_64')
@@ -12,10 +12,20 @@ license=('BSD')
depends=('ncurses')
optdepends=('sdl2')
source=(http://downloads.sourceforge.net/project/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.xz
+ gopherus-1.2-ncheader.patch
gopherus.desktop)
-sha256sums=('ad69c9ba0d7ca568038bc0cf04e48847b61d39b766a4b937a3230ffcd7727331'
+sha256sums=('4a9710ba9f9a0a92c6d6f8a9d212b3beebe85ab588f79e64d299f3e7b816ab02'
+ '9637df8df7dfa15232b5898170b1d1d0a485628d77c2a40150db914c4fb2b866'
'b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21')
+prepare()
+{
+ cd "${pkgname}-${pkgver}"
+
+ # Fix curses header location
+ patch -p1 -i ../gopherus-1.2-ncheader.patch
+}
+
build() {
cd "${pkgname}-${pkgver}"
make -f Makefile.lin CFLAGS="${CFLAGS}"