summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorReihar2019-08-23 18:19:58 +0200
committerReihar2019-08-23 18:19:58 +0200
commitc95766f237bf8218ff66bb4993c75537a4e4f994 (patch)
tree49d3b347ccda60ea068fc192c2be816716bd5b5c
parentea12926d1e62bba57df26f8563779704b1d1dc54 (diff)
downloadaur-c95766f237bf8218ff66bb4993c75537a4e4f994.tar.gz
Upgrade to 4.2.0, adding .install
-rw-r--r--PKGBUILD7
-rw-r--r--angband-ncurses.install3
2 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c416d727753..2ab2af17401 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
_pkgname=angband
pkgname=angband-ncurses
-pkgver=4.1.3
+pkgver=4.2.0
pkgrel=1
pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien (ncurses-only)"
arch=('i686' 'x86_64')
@@ -25,6 +25,7 @@ source=(
"${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz"
# "http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-${pkgver}.tar.gz"
)
+install=angband-ncurses.install
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
@@ -55,7 +56,7 @@ package() {
rm -f "${pkgdir}/usr/share/${_pkgname}/*/delete.me"
rm -R "${pkgdir}"/usr/share/angband/{icons,sounds}
- install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
+ install -Dm644 docs/copying.rst "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
}
-sha256sums=('9402c4f8da691edbd4567a948c5663e1066bee3fcb4a62fbcf86b5454918406f')
+sha256sums=('d3e1495c7cc2a4ee66de7b4e612d3b133048072e37504bd2e58a2351ab0fb56d')
diff --git a/angband-ncurses.install b/angband-ncurses.install
new file mode 100644
index 00000000000..8c4ef0b9637
--- /dev/null
+++ b/angband-ncurses.install
@@ -0,0 +1,3 @@
+post_upgrade() {
+ echo "When upgrading from a previous version, you may need to delete your save file stored in $HOME/.angband/Angband/save/"
+}