diff options
author | formerhuman | 2023-11-10 19:02:34 +0200 |
---|---|---|
committer | formerhuman | 2023-11-10 19:02:34 +0200 |
commit | 34b8c2446ee29e878109f0f3cebd4c54f07bcfe4 (patch) | |
tree | c3e8051d2e2365bcdbb87e98f50f41ebcf32d0cd /PKGBUILD | |
parent | d7955317879c24f42d484d1fb64b58a2a9d1266d (diff) | |
download | aur-gopherus.tar.gz |
* updated to gopherus version 1.2.2
* upstream removed SDL support
* the previously supplied patch is no longer needed
modified: .SRCINFO
modified: PKGBUILD
deleted: gopherus-1.2-ncheader.patch
deleted: gopherus.desktop
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 15 insertions, 32 deletions
@@ -1,55 +1,38 @@ +# Maintainer: formerhuman <joonas115 {ÄT} gmail {dot} com> # Maintainer: Deposite Pirate <dpirate at metalpunks dot info> -# -# Upstream: https://git.metalpunks.info/arch-ports - pkgname=gopherus -pkgver=1.2.1 +pkgver=1.2.2 pkgrel=1 pkgdesc="Gopher client" arch=('i686' 'x86_64') url="http://gopherus.sourceforge.net" 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=('510f71591ae2f40c55bfff47f3c215c75d85acf45184e752a381df6a6c64787b' - '9637df8df7dfa15232b5898170b1d1d0a485628d77c2a40150db914c4fb2b866' - 'b01f1fa220cb788edf5c743a35aeff169f62eefee19d5f6dee96274e8c8cfd21') - -prepare() -{ - cd "${pkgname}-${pkgver}" - - # Fix curses header location - patch -p1 -i ../gopherus-1.2-ncheader.patch -} +source=("https://downloads.sourceforge.net/project/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.xz") +sha256sums=('ee5ffb64ae4a43f576626d3649b734a801a8bf7e8fe0fd21556cc8cdb4338a9a') +#optdepends=( +# 'hicolor-icon-theme: needed for the icon' +#) build() { - cd "${pkgname}-${pkgver}" - make -f Makefile.lin CFLAGS="${CFLAGS}" gopherus gopherus-sdl + cd "${pkgname}-${pkgver}" || exit + make -f Makefile.lin CFLAGS="${CFLAGS}" gopherus } package() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" || exit - install -dm755 "${pkgdir}/usr/bin" - install -m755 gopherus gopherus-sdl "${pkgdir}/usr/bin" + install -Dm755 gopherus "${pkgdir}/usr/bin/gopherus" - install -dm755 "${pkgdir}/usr/share/doc/${pkgname}" - install -m644 gopherus.txt history.txt \ - "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 gopherus.txt "${pkgdir}/usr/share/doc/${pkgname}/gopherus.txt" + install -Dm644 history.txt "${pkgdir}/usr/share/doc/${pkgname}/history.txt" install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" ( - cd "${pkgdir}/usr/share/licenses/${pkgname}" + cd "${pkgdir}/usr/share/licenses/${pkgname}" || exit ln -s /usr/share/doc/${pkgname}/gopherus.txt LICENSE ) - install -Dm644 icon.svg \ - "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" + #install -Dm644 icon.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" - install -Dm644 "${srcdir}/gopherus.desktop" \ - "${pkgdir}/usr/share/applications/${pkgname}.desktop" } |