[arch-commits] Commit in dosemu/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Oct 1 15:58:00 UTC 2018
Date: Monday, October 1, 2018 @ 15:58:00
Author: anthraxx
Revision: 388894
upgpkg: dosemu 1:1.4.0.8+753+g18f6f5cd-1 (reproducible builds fixes)
Modified:
dosemu/trunk/PKGBUILD
----------+
PKGBUILD | 54 +++++++++++++++++++++++++++++++++---------------------
1 file changed, 33 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-01 15:33:58 UTC (rev 388893)
+++ PKGBUILD 2018-10-01 15:58:00 UTC (rev 388894)
@@ -1,44 +1,56 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# 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=1
epoch=1
-pkgver=1.4.git20151102
-pkgrel=2
-pkgdesc="DOS emulator"
+pkgdesc='DOS emulator'
+url='http://www.dosemu.org/'
arch=('x86_64')
-url="http://www.dosemu.org/"
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-$pkgver::git://git.code.sf.net/p/dosemu/code#tag=$pkgname-$pkgver
-source=($pkgname-$pkgver::git://git.code.sf.net/p/dosemu/code#commit=cc971eae4738016c22b3d2e1b3473df2176c8e29
- http://downloads.sourceforge.net/sourceforge/dosemu/dosemu-freedos-1.0-bin.tgz)
+ 'etc/dosemu/dosemu.users'
+ 'etc/dosemu/global.conf')
+source=(${pkgname}::git://git.code.sf.net/p/dosemu/code#commit=18f6f5cdf1beceae8c7532718bfaf423e4a44f6a
+ http://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 "$srcdir"/$pkgname-$pkgver
- gendesk -n --pkgname=$pkgname --pkgdesc='DOS emulator' --categories='System;Emulator'
+ cd ${pkgname}
+ gendesk -n \
+ --pkgname=${pkgname} \
+ --pkgdesc='dos emulator' \
+ --categories='system;emulator'
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr --with-fdtarball="$srcdir"/dosemu-freedos-1.0-bin.tgz --mandir=/usr/share/man
+ cd ${pkgname}
+ ./configure \
+ --prefix=/usr \
+ --with-fdtarball="${srcdir}/dosemu-freedos-1.0-bin.tgz" \
+ --mandir=/usr/share/man
make
}
package(){
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -dm755 "$pkgdir"/usr/share/pixmaps
- convert etc/$pkgname.xpm "$pkgdir"/usr/share/pixmaps/$pkgname.png
- install -D -m 644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
- install -D -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
- install -D -m 644 COPYING.DOSEMU "$pkgdir"/usr/share/licenses/$pkgname/COPYING.DOSEMU
+ 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