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

George Rawlinson grawlinson at gemini.archlinux.org
Thu Dec 16 21:10:33 UTC 2021


    Date: Thursday, December 16, 2021 @ 21:10:33
  Author: grawlinson
Revision: 1075222

archrelease: copy trunk to community-x86_64

Added:
  fortune-mod/repos/community-x86_64/PKGBUILD
    (from rev 1075200, fortune-mod/trunk/PKGBUILD)
  fortune-mod/repos/community-x86_64/not-a-game.patch
    (from rev 1075204, 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 21:10:32 UTC (rev 1075221)
+++ PKGBUILD	2021-12-16 21:10:33 UTC (rev 1075222)
@@ -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.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"
-}

Copied: fortune-mod/repos/community-x86_64/PKGBUILD (from rev 1075200, fortune-mod/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-16 21:10:33 UTC (rev 1075222)
@@ -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 21:10:32 UTC (rev 1075221)
+++ not-a-game.patch	2021-12-16 21:10:33 UTC (rev 1075222)
@@ -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 1075204, fortune-mod/trunk/not-a-game.patch)
===================================================================
--- not-a-game.patch	                        (rev 0)
+++ not-a-game.patch	2021-12-16 21:10:33 UTC (rev 1075222)
@@ -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