summaryrefslogtreecommitdiff
path: root/gopherus/PKGBUILD
diff options
context:
space:
mode:
authorDeposite Pirate2020-01-23 22:44:13 +0100
committerDeposite Pirate2020-01-23 22:44:13 +0100
commit8cc68c9893af7990f7e2db6cb812ab3fe2a4cb34 (patch)
tree6e8a7371d16e340c86973de52885006189f723f6 /gopherus/PKGBUILD
parent180c46e1391b8f2d798b29bcc7eddea937ec4754 (diff)
* Update gopherus to 1.2
modified: gopherus/.SRCINFO modified: gopherus/PKGBUILD new file: gopherus/gopherus-1.2-ncheader.patch
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}"