[arch-commits] Commit in dopewars/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 3 17:37:22 UTC 2018
Date: Sunday, June 3, 2018 @ 17:37:21
Author: felixonmars
Revision: 339460
archrelease: copy trunk to community-x86_64
Added:
dopewars/repos/community-x86_64/PKGBUILD
(from rev 339459, dopewars/trunk/PKGBUILD)
dopewars/repos/community-x86_64/dopewars.install
(from rev 339459, dopewars/trunk/dopewars.install)
Deleted:
dopewars/repos/community-x86_64/PKGBUILD
dopewars/repos/community-x86_64/dopewars.install
------------------+
PKGBUILD | 94 ++++++++++++++++++++++++++---------------------------
dopewars.install | 40 +++++++++++-----------
2 files changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 17:37:09 UTC (rev 339459)
+++ PKGBUILD 2018-06-03 17:37:21 UTC (rev 339460)
@@ -1,47 +0,0 @@
-# $Id$
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-# Contributor: Thayer Williams <thayer at archlinux.org>
-# Maintainer: schuay <jakob.gruber at gmail.com
-
-pkgname=dopewars
-pkgver=1.5.12
-pkgrel=8
-pkgdesc="A drug dealing game set in New York"
-url="http://dopewars.sourceforge.net/"
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('gtk2' 'alsa-lib' 'audiofile' 'sdl_mixer' 'ncurses')
-install='dopewars.install'
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('debf749de9053dc2fb2e74c37ae06206')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr --localstatedir=/var/games \
- --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- # setup shortcut menu entries
- mkdir -p "$pkgdir/usr/share/applications"
- mv "$pkgdir/usr/share/gnome/apps/Games/dopewars.desktop" \
- "$pkgdir/usr/share/applications"
- rm -r "$pkgdir/usr/share/gnome"
-
- # set appropriate permissions and destinations
- chown root:games "$pkgdir/usr/bin/dopewars"
- chmod 2755 "$pkgdir/usr/bin/dopewars"
- chown root:games "$pkgdir/var/games"
- chmod 775 "$pkgdir/var/games"
-
- # Handle the scores file creation in the install script
- rm "$pkgdir/var/games/dopewars.sco"
-}
-
Copied: dopewars/repos/community-x86_64/PKGBUILD (from rev 339459, dopewars/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-03 17:37:21 UTC (rev 339460)
@@ -0,0 +1,47 @@
+# $Id$
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Maintainer: schuay <jakob.gruber at gmail.com
+
+pkgname=dopewars
+pkgver=1.5.12
+pkgrel=9
+pkgdesc="A drug dealing game set in New York"
+url="http://dopewars.sourceforge.net/"
+license=('GPL')
+arch=('x86_64')
+depends=('gtk2' 'alsa-lib' 'audiofile' 'sdl_mixer' 'ncurses')
+install='dopewars.install'
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha512sums=('cfabaf9326c847aed6210a852ace64c697df5845a66b3179b8dc8dea7b99a11e1f91358d4ee54929a56c70d5f3a76f9f7bb4079fdef765601f165b4cd06cba5a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --localstatedir=/var/games \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # setup shortcut menu entries
+ mkdir -p "$pkgdir/usr/share/applications"
+ mv "$pkgdir/usr/share/gnome/apps/Games/dopewars.desktop" \
+ "$pkgdir/usr/share/applications"
+ rm -r "$pkgdir/usr/share/gnome"
+
+ # set appropriate permissions and destinations
+ chown root:games "$pkgdir/usr/bin/dopewars"
+ chmod 2755 "$pkgdir/usr/bin/dopewars"
+ chown root:games "$pkgdir/var/games"
+ chmod 775 "$pkgdir/var/games"
+
+ # Handle the scores file creation in the install script
+ rm "$pkgdir/var/games/dopewars.sco"
+}
+
Deleted: dopewars.install
===================================================================
--- dopewars.install 2018-06-03 17:37:09 UTC (rev 339459)
+++ dopewars.install 2018-06-03 17:37:21 UTC (rev 339460)
@@ -1,20 +0,0 @@
-post_install() {
- if [ ! -e /var/games/dopewars.sco ]; then
- mkdir -p /var/games
- touch /var/games/dopewars.sco
- chown root:games /var/games/dopewars.sco
- chmod 664 /var/games/dopewars.sco
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- if [ -e /var/games/dopewars.sco ]; then
- rm /var/games/dopewars.sco
- fi
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dopewars/repos/community-x86_64/dopewars.install (from rev 339459, dopewars/trunk/dopewars.install)
===================================================================
--- dopewars.install (rev 0)
+++ dopewars.install 2018-06-03 17:37:21 UTC (rev 339460)
@@ -0,0 +1,20 @@
+post_install() {
+ if [ ! -e /var/games/dopewars.sco ]; then
+ mkdir -p /var/games
+ touch /var/games/dopewars.sco
+ chown root:games /var/games/dopewars.sco
+ chmod 664 /var/games/dopewars.sco
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ if [ -e /var/games/dopewars.sco ]; then
+ rm /var/games/dopewars.sco
+ fi
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list