[arch-commits] Commit in fortune-mod/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Fri Aug 12 20:41:39 UTC 2022
Date: Friday, August 12, 2022 @ 20:41:39
Author: grawlinson
Revision: 1265805
archrelease: copy trunk to community-x86_64
Added:
fortune-mod/repos/community-x86_64/PKGBUILD
(from rev 1265804, fortune-mod/trunk/PKGBUILD)
fortune-mod/repos/community-x86_64/not-a-game.patch
(from rev 1265804, fortune-mod/trunk/not-a-game.patch)
Deleted:
fortune-mod/repos/community-x86_64/PKGBUILD
fortune-mod/repos/community-x86_64/not-a-game.patch
------------------+
PKGBUILD | 96 ++++++++++++++++++++++++++---------------------------
not-a-game.patch | 26 +++++++-------
2 files changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-12 20:40:55 UTC (rev 1265804)
+++ PKGBUILD 2022-08-12 20:41:39 UTC (rev 1265805)
@@ -1,48 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Dale Blount <archlinux at dale.us>
-# Contributor: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=fortune-mod
-pkgver=3.14.0
-pkgrel=1
-pkgdesc='The Fortune Cookie Program from BSD games'
-arch=('x86_64')
-url='https://www.shlomifish.org/open-source/projects/fortune-mod/'
-license=('BSD')
-depends=('glibc' 'recode')
-makedepends=('cmake' 'rinutils')
-source=("https://github.com/shlomif/fortune-mod/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
- 'not-a-game.patch')
-sha512sums=('289f11923bd91ac0c46d8879c57c1f4da20ef2ef165be2eea9635b3aca5fc18bfc2438e85bfbc2a872671f41658b68bb3f7dd74bef7e4268889371ff702d7cae'
- 'f12bfed15648bf7e53143bfa5c626e0e614d64c64c4329119e7b1ad8a5d79c89d3e8f2c1336d489abecbf6a8ec0ad9acf3080b142d498f8b3f36cea77c82a23d')
-b2sums=('9b7df93cd7ced677a391ed30a84503cbd36689de406bbeb346bc9e465420908c9115b0d58e8e0b245f554557f032a014cc52418da4a69281e3844412c8e9641d'
- '3af374f348d42bf649199a79afc18a8f0dace50d2b4c8aa090a1a54ccffcb65bf069d26f0d1d417a395c5a3574f7376c5ae1ec8b97dd2385d6b4b944643b1215')
-
-
-prepare() {
- cd "$pkgname-$pkgver"
- patch -p1 -i ../not-a-game.patch
-}
-
-build() {
- cmake \
- -B build \
- -S "$pkgname-$pkgver" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DNO_OFFENSIVE=OFF \
- -DLOCALDIR=/usr/share/fortune \
- -DLOCALODIR=/usr/share/fortune/off \
- -DCOOKIEDIR=/usr/share/fortune \
- -DOCOOKIEDIR=/usr/share/fortune/off
-
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-
- rm -f "$pkgdir/usr/share/fortune/"{,off/}*.u8
-
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname-$pkgver/COPYING.txt"
-}
Copied: fortune-mod/repos/community-x86_64/PKGBUILD (from rev 1265804, fortune-mod/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-12 20:41:39 UTC (rev 1265805)
@@ -0,0 +1,48 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Dale Blount <archlinux at dale.us>
+# Contributor: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=fortune-mod
+pkgver=3.14.1
+pkgrel=1
+pkgdesc='The Fortune Cookie Program from BSD games'
+arch=('x86_64')
+url='https://www.shlomifish.org/open-source/projects/fortune-mod/'
+license=('BSD')
+depends=('glibc' 'recode')
+makedepends=('cmake' 'rinutils')
+source=("https://github.com/shlomif/fortune-mod/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
+ 'not-a-game.patch')
+sha512sums=('0de0ec033ffc35a7a9ec1a549e6dac425757ec5fcc718c772f0a4e548d23c46451af4a90b0ac548f2ab60d68856ca0fa5e8f10930efe6b199e96b2cc1c568810'
+ 'f12bfed15648bf7e53143bfa5c626e0e614d64c64c4329119e7b1ad8a5d79c89d3e8f2c1336d489abecbf6a8ec0ad9acf3080b142d498f8b3f36cea77c82a23d')
+b2sums=('a62d4056cdceef14f1d63dbc8b98bbd88098c64d0020b949ecc8e6006f1a4b1369211ac8b87a33db60b238cd7e6d3d6f3c4d2e59933a6cf0bd3fa54c439c4330'
+ '3af374f348d42bf649199a79afc18a8f0dace50d2b4c8aa090a1a54ccffcb65bf069d26f0d1d417a395c5a3574f7376c5ae1ec8b97dd2385d6b4b944643b1215')
+
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i ../not-a-game.patch
+}
+
+build() {
+ cmake \
+ -B build \
+ -S "$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DNO_OFFENSIVE=OFF \
+ -DLOCALDIR=/usr/share/fortune \
+ -DLOCALODIR=/usr/share/fortune/off \
+ -DCOOKIEDIR=/usr/share/fortune \
+ -DOCOOKIEDIR=/usr/share/fortune/off
+
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ rm -f "$pkgdir/usr/share/fortune/"{,off/}*.u8
+
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname-$pkgver/COPYING.txt"
+}
Deleted: not-a-game.patch
===================================================================
--- not-a-game.patch 2022-08-12 20:40:55 UTC (rev 1265804)
+++ not-a-game.patch 2022-08-12 20:41:39 UTC (rev 1265805)
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 865e855..5a59370 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -154,7 +154,7 @@ ENDMACRO()
- my_exe(
- "fortune"
- "fortune/fortune.c"
-- "games"
-+ "bin"
- )
- my_exe(
-
Copied: fortune-mod/repos/community-x86_64/not-a-game.patch (from rev 1265804, fortune-mod/trunk/not-a-game.patch)
===================================================================
--- not-a-game.patch (rev 0)
+++ not-a-game.patch 2022-08-12 20:41:39 UTC (rev 1265805)
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 865e855..5a59370 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -154,7 +154,7 @@ ENDMACRO()
+ my_exe(
+ "fortune"
+ "fortune/fortune.c"
+- "games"
++ "bin"
+ )
+ my_exe(
+
More information about the arch-commits
mailing list