Date: Sunday, August 8, 2021 @ 14:23:02 Author: schuay Revision: 994965
archrelease: copy trunk to community-x86_64 Added: angband/repos/community-x86_64/PKGBUILD (from rev 994964, angband/trunk/PKGBUILD) Deleted: angband/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 108 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 53 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-08 14:22:54 UTC (rev 994964) +++ PKGBUILD 2021-08-08 14:23:02 UTC (rev 994965) @@ -1,55 +0,0 @@ -# Maintainer: schuay <jakob.gru...@gmail.com> -# Contributor: Mike Sampson <mike at sambodata dot com> -# Contributor: Adrian Stratulat <adrian.stratulat at inboxcom> -# Contributor: Anton Bazhenov <anton.bazhenov at gmail> -# Contributor: KillaB <xgenobl...@gmail.com> -# Contributor: Callan Barrett <wizzomafi...@gmail.com> -# Contributor: Christian Schmidt <xmuckne...@googlemail.com> -# Contributor: Sebastian Sareyko <pub...@nooms.de> - -pkgname=angband -pkgver=4.2.1 -pkgrel=1 -pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien" -arch=('x86_64') -url="https://rephial.org/" -license=('GPL2' 'custom') -depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'xorg-fonts-misc') -makedepends=('python-docutils') -source=("https://rephial.org/downloads/${pkgver:0:3}/${pkgname}-${pkgver}.tar.gz") - -prepare() { - cd "${srcdir}/angband-${pkgver}" - - # Fix detection of ncurses config script for ncurses 6.0 - sed -i 's/ncursesw5-config/ncursesw6-config/g' acinclude.m4 -} - -build() { - cd "${srcdir}/angband-${pkgver}" - - ./autogen.sh - - ./configure \ - --prefix=/usr \ - --bindir=/usr/bin \ - --sysconfdir=/usr/share/angband \ - --with-configpath=/usr/share/angband \ - --with-libpath=/usr/share/angband \ - --enable-gtk \ - --enable-sdl \ - --enable-sdl-mixer - - make -} - -package() { - cd "${srcdir}/angband-${pkgver}" - - make DESTDIR="${pkgdir}" install - - rm -f "${pkgdir}/usr/share/angband/*/delete.me" - install -Dm644 docs/copying.rst "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" -} - -sha512sums=('e13681bcd74fa56fe5c606d62f1e9761c9fc5367194e0e46894a5ebf108e1553a1f96191e139f1574238b72c635436c3108c80bc656aba8e328fe4e5b301c6bc') Copied: angband/repos/community-x86_64/PKGBUILD (from rev 994964, angband/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-08 14:23:02 UTC (rev 994965) @@ -0,0 +1,53 @@ +# Maintainer: schuay <jakob.gru...@gmail.com> +# Contributor: Mike Sampson <mike at sambodata dot com> +# Contributor: Adrian Stratulat <adrian.stratulat at inboxcom> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: KillaB <xgenobl...@gmail.com> +# Contributor: Callan Barrett <wizzomafi...@gmail.com> +# Contributor: Christian Schmidt <xmuckne...@googlemail.com> +# Contributor: Sebastian Sareyko <pub...@nooms.de> + +pkgname=angband +pkgver=4.2.3 +pkgrel=1 +pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien" +arch=('x86_64') +url="https://rephial.org/" +license=('GPL2' 'custom') +depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'xorg-fonts-misc') +makedepends=('python-docutils') +source=("https://github.com/angband/angband/releases/download/${pkgver}/Angband-${pkgver}.tar.gz") + +prepare() { + cd "${srcdir}/Angband-${pkgver}" + + # Fix detection of ncurses config script for ncurses 6.0 + sed -i 's/ncursesw5-config/ncursesw6-config/g' acinclude.m4 +} + +build() { + cd "${srcdir}/Angband-${pkgver}" + + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/usr/share/angband \ + --with-configpath=/usr/share/angband \ + --with-libpath=/usr/share/angband \ + --enable-gtk \ + --enable-sdl \ + --enable-sdl-mixer + + make +} + +package() { + cd "${srcdir}/Angband-${pkgver}" + + make DESTDIR="${pkgdir}" install + + rm -f "${pkgdir}/usr/share/angband/*/delete.me" + install -Dm644 docs/copying.rst "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} + +sha512sums=('7616e49564d5091cc31eae897fcdf2faaec8cdc6a837c52e5028ce370a980b363508b1e6b8520595a83d1e859607a647d3c9278f440c859a90a42867f834fbd4')