[arch-commits] Commit in freedroid/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:22:11 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:22:11
  Author: felixonmars
Revision: 660369

archrelease: copy trunk to community-staging-x86_64

Added:
  freedroid/repos/community-staging-x86_64/
  freedroid/repos/community-staging-x86_64/PKGBUILD
    (from rev 660366, freedroid/trunk/PKGBUILD)
  freedroid/repos/community-staging-x86_64/freedroid.desktop
    (from rev 660367, freedroid/trunk/freedroid.desktop)
  freedroid/repos/community-staging-x86_64/paraicon.png
    (from rev 660368, freedroid/trunk/paraicon.png)

-------------------+
 PKGBUILD          |   36 ++++++++++++++++++++++++++++++++++++
 freedroid.desktop |    8 ++++++++
 2 files changed, 44 insertions(+)

Copied: freedroid/repos/community-staging-x86_64/PKGBUILD (from rev 660366, freedroid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:22:11 UTC (rev 660369)
@@ -0,0 +1,36 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=freedroid
+pkgver=1.0.2
+pkgrel=11
+pkgdesc="a clone of the classic game 'Paradroid' on Commodore 64"
+arch=('x86_64')
+url="http://freedroid.sourceforge.net/"
+license=('GPL')
+depends=('glibc' 'sdl_image' 'sdl_mixer')
+source=(https://downloads.sourceforge.net/sourceforge/freedroid/$pkgname-$pkgver.tar.gz
+	freedroid.desktop
+	paraicon.png)
+md5sums=('585a65f61c2cd308ab45d5c514f695dc'
+         'e4a34f00f1cd983331999022569f2b57'
+         '68a11e92695978a9aac58cc21a4899db')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 "$srcdir"/paraicon.png "$pkgdir"/usr/share/icons/paraicon.png
+  install -Dm0644 "$srcdir"/freedroid.desktop "$pkgdir"/usr/share/applications/freedroid.desktop
+
+  rm -rf "$pkgdir"/usr/share/freedroid/mac-osx
+  rm -rf "$pkgdir"/usr/share/freedroid/freedroid.6
+  find "$pkgdir"/usr/share/freedroid -type f -name Makefile -exec rm -f {} \;
+  find "$pkgdir"/usr/share/freedroid -type f -name Makefile.in -exec rm -f {} \;
+  find "$pkgdir"/usr/share/freedroid -type f -name Makefile.am -exec rm -f {} \;
+}

Copied: freedroid/repos/community-staging-x86_64/freedroid.desktop (from rev 660367, freedroid/trunk/freedroid.desktop)
===================================================================
--- community-staging-x86_64/freedroid.desktop	                        (rev 0)
+++ community-staging-x86_64/freedroid.desktop	2020-07-07 21:22:11 UTC (rev 660369)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=FreeDroid
+Comment=An SDL Paranoid(c) clone game
+Exec=freedroid
+Icon=paraicon
+Terminal=false
+Type=Application
+Categories=Game;Arcade;

Copied: freedroid/repos/community-staging-x86_64/paraicon.png (from rev 660368, freedroid/trunk/paraicon.png)
===================================================================
(Binary files differ)


More information about the arch-commits mailing list