[arch-commits] Commit in angband/trunk (PKGBUILD)

Jakob Gruber schuay at gemini.archlinux.org
Sun Aug 8 14:22:54 UTC 2021


    Date: Sunday, August 8, 2021 @ 14:22:54
  Author: schuay
Revision: 994964

upgpkg: angband 4.2.3-1: angband 4.2.3-1

Modified:
  angband/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-08 14:21:06 UTC (rev 994963)
+++ PKGBUILD	2021-08-08 14:22:54 UTC (rev 994964)
@@ -8,7 +8,7 @@
 # Contributor: Sebastian Sareyko <public at nooms.de>
 
 pkgname=angband
-pkgver=4.2.1
+pkgver=4.2.3
 pkgrel=1
 pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien"
 arch=('x86_64')
@@ -16,10 +16,10 @@
 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")
+source=("https://github.com/angband/angband/releases/download/${pkgver}/Angband-${pkgver}.tar.gz")
 
 prepare() {
-  cd "${srcdir}/angband-${pkgver}"
+  cd "${srcdir}/Angband-${pkgver}"
 
   # Fix detection of ncurses config script for ncurses 6.0
   sed -i 's/ncursesw5-config/ncursesw6-config/g' acinclude.m4
@@ -26,10 +26,8 @@
 }
 
 build() {
-  cd "${srcdir}/angband-${pkgver}"
+  cd "${srcdir}/Angband-${pkgver}"
 
-  ./autogen.sh
-
   ./configure \
     --prefix=/usr \
     --bindir=/usr/bin \
@@ -44,7 +42,7 @@
 }
 
 package() {
-  cd "${srcdir}/angband-${pkgver}"
+  cd "${srcdir}/Angband-${pkgver}"
 
   make DESTDIR="${pkgdir}" install
 
@@ -52,4 +50,4 @@
   install -Dm644 docs/copying.rst "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }
 
-sha512sums=('e13681bcd74fa56fe5c606d62f1e9761c9fc5367194e0e46894a5ebf108e1553a1f96191e139f1574238b72c635436c3108c80bc656aba8e328fe4e5b301c6bc')
+sha512sums=('7616e49564d5091cc31eae897fcdf2faaec8cdc6a837c52e5028ce370a980b363508b1e6b8520595a83d1e859607a647d3c9278f440c859a90a42867f834fbd4')



More information about the arch-commits mailing list