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

Sergej Pupykin spupykin at gemini.archlinux.org
Tue Nov 16 12:41:45 UTC 2021


    Date: Tuesday, November 16, 2021 @ 12:41:45
  Author: spupykin
Revision: 1048775

archrelease: copy trunk to community-x86_64

Added:
  rocksndiamonds/repos/community-x86_64/PKGBUILD
    (from rev 1048774, rocksndiamonds/trunk/PKGBUILD)
  rocksndiamonds/repos/community-x86_64/rocksndiamonds.desktop
    (from rev 1048774, rocksndiamonds/trunk/rocksndiamonds.desktop)
Deleted:
  rocksndiamonds/repos/community-x86_64/PKGBUILD
  rocksndiamonds/repos/community-x86_64/rocksndiamonds.desktop

------------------------+
 PKGBUILD               |   83 ++++++++++++++++++++++-------------------------
 rocksndiamonds.desktop |   20 +++++------
 2 files changed, 49 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-16 12:41:36 UTC (rev 1048774)
+++ PKGBUILD	2021-11-16 12:41:45 UTC (rev 1048775)
@@ -1,44 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jacek Poplawski <jacekpoplawski at gmail.com>
-
-pkgname=rocksndiamonds
-pkgver=4.3.0.0
-pkgrel=2
-pkgdesc="game similiar to Boulderdash with lots of levels"
-arch=(x86_64)
-url="https://www.artsoft.org/rocksndiamonds/"
-license=('GPL')
-depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_net' 'smpeg')
-makedepends=('unzip' 'p7zip')
-source=(https://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-$pkgver.tar.gz
-	rocksndiamonds.desktop)
-sha256sums=('520626a883b2a1badfe9d775452b2c928c06631091f53cc2657e33b9b70f79af'
-            '90008d356dd30034287ca763a05feb482d7e0c4508572abb08b5215fcb4fe922')
-
-prepare() {
-  cd "$srcdir"/rocksndiamonds-$pkgver
-  sed -i 's|inline void InitElementSmallImagesScaledUp|void InitElementSmallImagesScaledUp|g' src/init.c
-}
-
-build() {
-  cd "$srcdir"/rocksndiamonds-$pkgver
-  make clean
-  make RO_GAME_DIR=/usr/share/rocksndiamonds RW_GAME_DIR=/usr/share/rocksndiamonds
-}
-
-package() {
-  depends+=('rocksndiamonds-data' 'rocksndiamonds-contrib')
-
-  cd "$srcdir"/rocksndiamonds-$pkgver
-
-  install -d "$pkgdir"/usr/bin
-  cp "$srcdir"/rocksndiamonds-$pkgver/rocksndiamonds "$pkgdir"/usr/bin/rocksndiamonds
-
-#  install -d "$pkgdir"/usr/share/man/man1
-#  cp "$srcdir"/rocksndiamonds-$pkgver/rocksndiamonds.1 "$pkgdir"/usr/share/man/man1
-
-  install -d "$pkgdir"/usr/share/doc/$pkgname/
-  cp -a docs/elements "$pkgdir"/usr/share/doc/$pkgname/
-
-  install -Dm0644 "$srcdir"/rocksndiamonds.desktop "$pkgdir"/usr/share/applications/rocksndiamonds.desktop
-}

Copied: rocksndiamonds/repos/community-x86_64/PKGBUILD (from rev 1048774, rocksndiamonds/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-16 12:41:45 UTC (rev 1048775)
@@ -0,0 +1,39 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jacek Poplawski <jacekpoplawski at gmail.com>
+
+pkgname=rocksndiamonds
+pkgver=4.3.0.0
+pkgrel=3
+pkgdesc="game similiar to Boulderdash with lots of levels"
+arch=(x86_64)
+url="https://www.artsoft.org/rocksndiamonds/"
+license=('GPL')
+depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_net' 'smpeg')
+makedepends=('unzip' 'p7zip')
+source=(https://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-$pkgver.tar.gz
+	rocksndiamonds.desktop)
+sha256sums=('520626a883b2a1badfe9d775452b2c928c06631091f53cc2657e33b9b70f79af'
+            '90008d356dd30034287ca763a05feb482d7e0c4508572abb08b5215fcb4fe922')
+
+build() {
+  cd "$srcdir"/rocksndiamonds-$pkgver
+  make clean
+  make BASE_PATH=/usr/share/rocksndiamonds
+}
+
+package() {
+  depends+=('rocksndiamonds-data' 'rocksndiamonds-contrib')
+
+  cd "$srcdir"/rocksndiamonds-$pkgver
+
+  install -d "$pkgdir"/usr/bin
+  cp "$srcdir"/rocksndiamonds-$pkgver/rocksndiamonds "$pkgdir"/usr/bin/rocksndiamonds
+
+#  install -d "$pkgdir"/usr/share/man/man1
+#  cp "$srcdir"/rocksndiamonds-$pkgver/rocksndiamonds.1 "$pkgdir"/usr/share/man/man1
+
+  install -d "$pkgdir"/usr/share/doc/$pkgname/
+  cp -a docs/elements "$pkgdir"/usr/share/doc/$pkgname/
+
+  install -Dm0644 "$srcdir"/rocksndiamonds.desktop "$pkgdir"/usr/share/applications/rocksndiamonds.desktop
+}

Deleted: rocksndiamonds.desktop
===================================================================
--- rocksndiamonds.desktop	2021-11-16 12:41:36 UTC (rev 1048774)
+++ rocksndiamonds.desktop	2021-11-16 12:41:45 UTC (rev 1048775)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Rocks'N'Diamonds
-GenericName=Rocks'N'Diamonds
-Comment=Arcade game
-Exec=rocksndiamonds
-Terminal=false
-Type=Application
-Categories=Application;Game;
-StartupNotify=false

Copied: rocksndiamonds/repos/community-x86_64/rocksndiamonds.desktop (from rev 1048774, rocksndiamonds/trunk/rocksndiamonds.desktop)
===================================================================
--- rocksndiamonds.desktop	                        (rev 0)
+++ rocksndiamonds.desktop	2021-11-16 12:41:45 UTC (rev 1048775)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Rocks'N'Diamonds
+GenericName=Rocks'N'Diamonds
+Comment=Arcade game
+Exec=rocksndiamonds
+Terminal=false
+Type=Application
+Categories=Application;Game;
+StartupNotify=false



More information about the arch-commits mailing list