[arch-commits] Commit in fortune-mod/repos/community-x86_64 (4 files)

George Rawlinson grawlinson at gemini.archlinux.org
Thu Dec 16 19:02:11 UTC 2021


    Date: Thursday, December 16, 2021 @ 19:02:10
  Author: grawlinson
Revision: 1074602

archrelease: copy trunk to community-x86_64

Added:
  fortune-mod/repos/community-x86_64/PKGBUILD
    (from rev 1074601, fortune-mod/trunk/PKGBUILD)
  fortune-mod/repos/community-x86_64/not-a-game.patch
    (from rev 1074601, 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	2021-12-16 19:01:20 UTC (rev 1074601)
+++ PKGBUILD	2021-12-16 19:02:10 UTC (rev 1074602)
@@ -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.6.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=('recode')
-makedepends=('cmake' 'rinutils')
-source=("https://github.com/shlomif/fortune-mod/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
-        'not-a-game.patch')
-b2sums=('0ff684ee8aaf5eaabd75f187a3bff533ab4ee6e66c47c57fc700d2671006c8dff42f732fde78b40516f8ee907a52fc1965fb0ff257b12563d645f97c5ebc0031'
-        '3af374f348d42bf649199a79afc18a8f0dace50d2b4c8aa090a1a54ccffcb65bf069d26f0d1d417a395c5a3574f7376c5ae1ec8b97dd2385d6b4b944643b1215')
-
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -p1 -i ../not-a-game.patch
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cmake -B build -S . \
-        -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/
-  make -C build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make -C build DESTDIR="$pkgdir" \
-       FORTDIR="$pkgdir/usr/bin" \
-       COOKIEDIR="$pkgdir/usr/share/fortune" \
-       BINDIR="$pkgdir/usr/bin" \
-       BINMANDIR="$pkgdir/usr/share/man/man1" \
-       FORTMANDIR="$pkgdir/usr/share/man/man6" install
-  rm "$pkgdir/usr/share/fortune/"{,off/}*.u8
-  install -Dm644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: fortune-mod/repos/community-x86_64/PKGBUILD (from rev 1074601, fortune-mod/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-16 19:02:10 UTC (rev 1074602)
@@ -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.10.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=('cb4d171405324a8ebac55ca5c7c8d8f5c06b594c2ded1b1c97fb599a4eaf638317f613fbeee4b3ca9ba7060ba4eeff7e678acddac12d49555a33d33017a90f4d'
+            'f12bfed15648bf7e53143bfa5c626e0e614d64c64c4329119e7b1ad8a5d79c89d3e8f2c1336d489abecbf6a8ec0ad9acf3080b142d498f8b3f36cea77c82a23d')
+b2sums=('e2dcfccee0c8d897971e742e4a5e345f9e825ba73479e2dc056891e16f005dc1d1f843573565741d1b35e4e1d1020cd382db9706f34b0caa4000d265a2c4dd30'
+        '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	2021-12-16 19:01:20 UTC (rev 1074601)
+++ not-a-game.patch	2021-12-16 19:02:10 UTC (rev 1074602)
@@ -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 1074601, fortune-mod/trunk/not-a-game.patch)
===================================================================
--- not-a-game.patch	                        (rev 0)
+++ not-a-game.patch	2021-12-16 19:02:10 UTC (rev 1074602)
@@ -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