[arch-commits] Commit in puzzles/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Tue Jan 4 11:02:46 UTC 2022


    Date: Tuesday, January 4, 2022 @ 11:02:46
  Author: arojas
Revision: 1092880

archrelease: copy trunk to community-x86_64

Added:
  puzzles/repos/community-x86_64/PKGBUILD
    (from rev 1092879, puzzles/trunk/PKGBUILD)
Deleted:
  puzzles/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-04 11:02:03 UTC (rev 1092879)
+++ PKGBUILD	2022-01-04 11:02:46 UTC (rev 1092880)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: schuay <jakob.gruber at gmail.com>
-
-pkgname=puzzles
-pkgver=20211212
-pkgrel=1
-_commit=b56c994
-pkgdesc="Simon Tatham's Portable Puzzle Collection"
-arch=('x86_64')
-url='https://www.chiark.greenend.org.uk/~sgtatham/puzzles/'
-license=(MIT)
-depends=(gtk3)
-makedepends=(cmake imagemagick)
-source=(https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-$pkgver.$_commit.tar.gz)
-sha256sums=('0795a58fb0e958be178b5531f2e4793c18993907162fdf77b22e0106d62daa1a')
-
-build() {
-  cmake -B build -S puzzles-$pkgver.$_commit \
-   -DCMAKE_INSTALL_PREFIX=/usr
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-
-  install -Dm644 puzzles-$pkgver.$_commit/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-# Fix FS#14600 (name conflicts with other packages).
-  cd "$pkgdir"/usr/bin
-  for oldname in *; do
-    newname=puzzles-$oldname
-    mv "$pkgdir"/usr/bin/{$oldname,$newname}
-    sed -e "s|Exec=$oldname|Exec=$newname|" -i "$pkgdir"/usr/share/applications/$oldname.desktop
-  done
-}

Copied: puzzles/repos/community-x86_64/PKGBUILD (from rev 1092879, puzzles/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-04 11:02:46 UTC (rev 1092880)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: schuay <jakob.gruber at gmail.com>
+
+pkgname=puzzles
+pkgver=20211212
+pkgrel=2
+_commit=b56c994
+pkgdesc="Simon Tatham's Portable Puzzle Collection"
+arch=('x86_64')
+url='https://www.chiark.greenend.org.uk/~sgtatham/puzzles/'
+license=(MIT)
+depends=(gtk3)
+makedepends=(cmake imagemagick)
+source=(https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-$pkgver.$_commit.tar.gz)
+sha256sums=('0795a58fb0e958be178b5531f2e4793c18993907162fdf77b22e0106d62daa1a')
+
+build() {
+  cmake -B build -S puzzles-$pkgver.$_commit \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DNAME_PREFIX=puzzles-
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 puzzles-$pkgver.$_commit/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list