[arch-commits] Commit in dosbox/repos (3 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Sep 2 16:36:31 UTC 2018
Date: Sunday, September 2, 2018 @ 16:36:31
Author: jlichtblau
Revision: 376056
archrelease: copy trunk to community-testing-x86_64
Added:
dosbox/repos/community-testing-x86_64/
dosbox/repos/community-testing-x86_64/PKGBUILD
(from rev 376055, dosbox/trunk/PKGBUILD)
dosbox/repos/community-testing-x86_64/dosbox.png
(from rev 376055, dosbox/trunk/dosbox.png)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: dosbox/repos/community-testing-x86_64/PKGBUILD (from rev 376055, dosbox/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-09-02 16:36:31 UTC (rev 376056)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=dosbox
+pkgver=0.74.2
+pkgrel=1
+pkgdesc='Emulator with builtin DOS for running DOS Games'
+arch=('x86_64')
+url='http://dosbox.sourceforge.net/'
+license=('GPL')
+depends=('sdl_net' 'zlib' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'glu')
+makedepends=('mesa-libgl' 'gendesk')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-0.74-2.tar.gz
+ dosbox.png)
+sha256sums=('7077303595bedd7cd0bb94227fa9a6b5609e7c90a3e6523af11bc4afcb0a57cf'
+ '491c42d16fc5ef7ee2eca1b736f7801249d4ca8c0b236a001aec0d3e24504f3b')
+
+prepare() {
+ cd "${srcdir}"
+ gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+
+ cd "${srcdir}/$pkgname-0.74-2"
+ sed -i 's/png_check_sig/png_sig_cmp/' configure
+}
+
+build() {
+ cd "${srcdir}/$pkgname-0.74-2"
+
+ ./configure --prefix=/usr --sysconfdir=/etc/dosbox
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-0.74-2"
+
+ make DESTDIR="${pkgdir}" install
+
+# install docs, make does not install them
+ install -Dm644 README "${pkgdir}"/usr/share/doc/$pkgname/README
+ install -Dm644 docs/README.video "${pkgdir}"/usr/share/doc/$pkgname/README.video
+
+ install -Dm644 "${srcdir}/$pkgname.png" \
+ "${pkgdir}/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "${srcdir}/$pkgname.desktop" \
+ "${pkgdir}/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: dosbox/repos/community-testing-x86_64/dosbox.png (from rev 376055, dosbox/trunk/dosbox.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list