[arch-commits] Commit in dosbox/repos/community-x86_64 (4 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Jun 2 18:12:21 UTC 2019
Date: Sunday, June 2, 2019 @ 18:12:21
Author: jlichtblau
Revision: 476637
archrelease: copy trunk to community-x86_64
Added:
dosbox/repos/community-x86_64/PKGBUILD
(from rev 476636, dosbox/trunk/PKGBUILD)
dosbox/repos/community-x86_64/dosbox.png
(from rev 476636, dosbox/trunk/dosbox.png)
Deleted:
dosbox/repos/community-x86_64/PKGBUILD
dosbox/repos/community-x86_64/dosbox.png
----------+
PKGBUILD | 105 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-02 18:12:11 UTC (rev 476636)
+++ PKGBUILD 2019-06-02 18:12:21 UTC (rev 476637)
@@ -1,50 +0,0 @@
-# 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=(https://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-x86_64/PKGBUILD (from rev 476636, dosbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-02 18:12:21 UTC (rev 476637)
@@ -0,0 +1,55 @@
+# 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=2
+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' 'patch')
+source=(https://downloads.sourceforge.net/$pkgname/$pkgname-0.74-2.tar.gz
+ dosbox.png
+ https://www.dosbox.com/downloads/74-2-events.diff)
+sha256sums=('7077303595bedd7cd0bb94227fa9a6b5609e7c90a3e6523af11bc4afcb0a57cf'
+ '491c42d16fc5ef7ee2eca1b736f7801249d4ca8c0b236a001aec0d3e24504f3b'
+ '3711347e702c9c1a0cc818aeb150727be29c03b773f1912ad5511f00bbefb24b')
+
+prepare() {
+ cd "${srcdir}"
+ gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+
+ cd "${srcdir}/$pkgname-0.74-2"
+ sed -i 's/png_check_sig/png_sig_cmp/' configure
+
+# workaround for Linux users who have problems locking the mouse in windowed mode after upgrading X.org to 1.20
+ patch -Np0 -i "${srcdir}"/74-2-events.diff
+}
+
+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:
Deleted: dosbox.png
===================================================================
(Binary files differ)
Copied: dosbox/repos/community-x86_64/dosbox.png (from rev 476636, dosbox/trunk/dosbox.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list