From fb992f4f66e3819e2a05c6d69b92183192bdb6cf Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Mon, 17 Sep 2018 11:15:14 +0200 Subject: Add gopherus. --- gopherus/.SRCINFO | 17 +++++++++++++++++ gopherus/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ gopherus/gopherus.desktop | 22 ++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 gopherus/.SRCINFO create mode 100644 gopherus/PKGBUILD create mode 100644 gopherus/gopherus.desktop diff --git a/gopherus/.SRCINFO b/gopherus/.SRCINFO new file mode 100644 index 0000000..e97ad7e --- /dev/null +++ b/gopherus/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = gopherus + pkgdesc = Gopher client + pkgver = 1.0c + pkgrel = 3 + url = http://gopherus.sourceforge.net + arch = i686 + arch = x86_64 + license = GPL3 + depends = ncurses + optdepends = sdl2 + source = http://downloads.sourceforge.net/project/gopherus/v1.0c/gopherus-1.0c.tar.gz + source = gopherus.desktop + sha256sums = 84f5192659658bb57f6d77609654e74f9e96f7596c0e3ae10e707877d1cebaf4 + sha256sums = b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21 + +pkgname = gopherus + diff --git a/gopherus/PKGBUILD b/gopherus/PKGBUILD new file mode 100644 index 0000000..cca6cae --- /dev/null +++ b/gopherus/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Deposite Pirate + +pkgname=gopherus +pkgver=1.0c +pkgrel=3 +pkgdesc="Gopher client" +arch=('i686' 'x86_64') +url="http://gopherus.sourceforge.net" +license=('GPL3') +depends=('ncurses') +optdepends=('sdl2') +source=(http://downloads.sourceforge.net/project/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.gz + gopherus.desktop) +sha256sums=('84f5192659658bb57f6d77609654e74f9e96f7596c0e3ae10e707877d1cebaf4' + 'b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21') + +build() { + cd "${pkgname}-${pkgver}" + sed -i '/upx --best --lzma/d' Makefile.lin + make -f Makefile.lin CFLAGS="${CFLAGS}" + make -f Makefile.lin gopherus-sdl CFLAGS="${CFLAGS}" +} + +package() { + cd "${pkgname}-${pkgver}" + + install -dm755 "${pkgdir}/usr/bin" + install -m755 gopherus gopherus-sdl "${pkgdir}/usr/bin" + + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}" + install -m644 gopherus.txt history.txt \ + "${pkgdir}/usr/share/doc/${pkgname}" + + install -Dm644 icon.svg \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" + + install -Dm644 "${srcdir}/gopherus.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} + diff --git a/gopherus/gopherus.desktop b/gopherus/gopherus.desktop new file mode 100644 index 0000000..3293221 --- /dev/null +++ b/gopherus/gopherus.desktop @@ -0,0 +1,22 @@ +[Desktop Entry] +Version=1.0 +Name=Gopherus +GenericName=Gopher browser +GenericName[en_GB]=Gopher browser +GenericName[fr]=Navigateur gopher +GenericName[it]=Browser gopher +GenericName[nb]=Gopherleser +Comment=Browse gopherspace +Comment[de]=Gopher surfen +Comment[en_GB]=Browse gopherspace +Comment[fr]=Naviguer les sites Gopher +Comment[it]=Esplora i siti Gopher +Comment[nb]=Surf på Gopher +Keywords=gopher; +Type=Application +Icon=gopherus +Categories=SDL;Network; +Exec=gopherus-sdl %U +Terminal=false +StartupNotify=true +MimeType=x-scheme-handler/gopher -- cgit v1.2.3-70-g09d2