[arch-commits] Commit in rocksndiamonds/repos/community-x86_64 (4 files)
Sergej Pupykin
spupykin at gemini.archlinux.org
Sat Nov 13 19:26:57 UTC 2021
Date: Saturday, November 13, 2021 @ 19:26:56
Author: spupykin
Revision: 1045929
archrelease: copy trunk to community-x86_64
Added:
rocksndiamonds/repos/community-x86_64/PKGBUILD
(from rev 1045928, rocksndiamonds/trunk/PKGBUILD)
rocksndiamonds/repos/community-x86_64/rocksndiamonds.desktop
(from rev 1045928, rocksndiamonds/trunk/rocksndiamonds.desktop)
Deleted:
rocksndiamonds/repos/community-x86_64/PKGBUILD
rocksndiamonds/repos/community-x86_64/rocksndiamonds.desktop
------------------------+
PKGBUILD | 88 +++++++++++++++++++++++------------------------
rocksndiamonds.desktop | 20 +++++-----
2 files changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 19:26:51 UTC (rev 1045928)
+++ PKGBUILD 2021-11-13 19:26:56 UTC (rev 1045929)
@@ -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=1
-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')
-
- 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 1045928, rocksndiamonds/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-13 19:26:56 UTC (rev 1045929)
@@ -0,0 +1,44 @@
+# 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
+}
Deleted: rocksndiamonds.desktop
===================================================================
--- rocksndiamonds.desktop 2021-11-13 19:26:51 UTC (rev 1045928)
+++ rocksndiamonds.desktop 2021-11-13 19:26:56 UTC (rev 1045929)
@@ -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 1045928, rocksndiamonds/trunk/rocksndiamonds.desktop)
===================================================================
--- rocksndiamonds.desktop (rev 0)
+++ rocksndiamonds.desktop 2021-11-13 19:26:56 UTC (rev 1045929)
@@ -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