[arch-commits] Commit in dosemu/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:55:41 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:55:41
Author: felixonmars
Revision: 659913
archrelease: copy trunk to community-staging-x86_64
Added:
dosemu/repos/community-staging-x86_64/
dosemu/repos/community-staging-x86_64/PKGBUILD
(from rev 659912, dosemu/trunk/PKGBUILD)
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Copied: dosemu/repos/community-staging-x86_64/PKGBUILD (from rev 659912, dosemu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:55:41 UTC (rev 659913)
@@ -0,0 +1,56 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
+# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
+# Contributor: Bob Finch <w9ya at arrl.net>
+
+pkgname=dosemu
+pkgver=1.4.0.8+753+g18f6f5cd
+pkgrel=2
+epoch=1
+pkgdesc='DOS emulator'
+url='http://www.dosemu.org/'
+arch=('x86_64')
+license=('GPL' 'custom')
+depends=('gpm' 'slang' 'sdl' 'libxxf86vm' 'libsndfile')
+makedepends=('git' 'xorg-mkfontdir' 'xorg-bdftopcf' 'gendesk' 'imagemagick')
+backup=('etc/dosemu/dosemu.conf'
+ 'etc/dosemu/dosemu.users'
+ 'etc/dosemu/global.conf')
+source=(${pkgname}::git://git.code.sf.net/p/dosemu/code#commit=18f6f5cdf1beceae8c7532718bfaf423e4a44f6a
+ https://downloads.sourceforge.net/sourceforge/dosemu/dosemu-freedos-1.0-bin.tgz)
+sha512sums=('SKIP'
+ 'd0c4235ceac55de63ce5f72e51b7d57a82b8104f4bf2df6f4dc25c9889d3337b40d75665c2dfc98492ec7123e0959a725f5c7579e145895024bd80a07036e3bd')
+
+pkgver() {
+ cd ${pkgname}
+ git describe --tags --always|sed 's/^dosemu-//;s/-/+/g'
+}
+
+prepare() {
+ cd ${pkgname}
+ gendesk -n \
+ --pkgname=${pkgname} \
+ --pkgdesc='dos emulator' \
+ --categories='system;emulator'
+}
+
+build() {
+ cd ${pkgname}
+ ./configure \
+ --prefix=/usr \
+ --with-fdtarball="${srcdir}/dosemu-freedos-1.0-bin.tgz" \
+ --mandir=/usr/share/man
+ make
+}
+
+package(){
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" install
+ install -d "${pkgdir}"/usr/share/pixmaps
+ convert +set date:create +set date:modify etc/${pkgname}.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -D -m 644 ${pkgname}.desktop -t "${pkgdir}/usr/share/applications"
+ install -D -m 644 COPYING COPYING.DOSEMU -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list