[arch-commits] Commit in dev86/repos (3 files)
Christian Hesse
eworm at gemini.archlinux.org
Sat Dec 25 21:15:09 UTC 2021
Date: Saturday, December 25, 2021 @ 21:15:09
Author: eworm
Revision: 1083797
archrelease: copy trunk to community-testing-x86_64
Added:
dev86/repos/community-testing-x86_64/
dev86/repos/community-testing-x86_64/PKGBUILD
(from rev 1083796, dev86/trunk/PKGBUILD)
dev86/repos/community-testing-x86_64/mandir.patch
(from rev 1083796, dev86/trunk/mandir.patch)
--------------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
mandir.patch | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
Copied: dev86/repos/community-testing-x86_64/PKGBUILD (from rev 1083796, dev86/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-12-25 21:15:09 UTC (rev 1083797)
@@ -0,0 +1,43 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+# Contributor: Suat SARIALP <muhendis.suat at gmail.com>
+
+pkgname=dev86
+pkgver=0.16.21
+pkgrel=6
+pkgdesc="Simple C compiler to generate 8086 code"
+arch=('x86_64')
+url='https://v3.sk/~lkundrak/dev86/'
+license=(GPL)
+makedepends=('bin86')
+options=('!strip' '!makeflags' 'staticlibs')
+source=(#"https://v3.sk/~lkundrak/dev86/Dev86src-${pkgver}.tar.gz"
+ "https://sources.archlinux.org/other/community/dev86/Dev86src-${pkgver}.tar.gz"
+ 'mandir.patch')
+sha256sums=('234b110e6df9b7f6843e2ee53473127c2211243a16748f229fc0127845f68d94'
+ 'f1cc9e3779c435a39c0a3b773b6fc220c6bd7909ec4bb1b8ee781cf4f89d4827')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ patch -p1 <"$srcdir"/mandir.patch
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ export CFLAGS+=' -ffat-lto-objects'
+
+ make PREFIX=/usr DIST="$pkgdir"
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ mkdir -p "$pkgdir"/usr/share/man/man1
+ make install-all DIST="$pkgdir"
+
+ # remove all the stuff supplied by bin86
+ rm "$pkgdir"/usr/bin/{as,ld,nm,objdump,size}86
+ rm "$pkgdir"/usr/share/man/man1/{as,ld}86.1
+}
Copied: dev86/repos/community-testing-x86_64/mandir.patch (from rev 1083796, dev86/trunk/mandir.patch)
===================================================================
--- community-testing-x86_64/mandir.patch (rev 0)
+++ community-testing-x86_64/mandir.patch 2021-12-25 21:15:09 UTC (rev 1083797)
@@ -0,0 +1,34 @@
+diff -wbBur dev86-0.16.19.org/dis88/Makefile dev86-0.16.19/dis88/Makefile
+--- dev86-0.16.19.org/dis88/Makefile 1998-07-31 17:01:40.000000000 +0400
++++ dev86-0.16.19/dis88/Makefile 2012-10-24 14:46:02.684587469 +0400
+@@ -38,7 +38,7 @@
+
+ install: dis88
+ install -m 755 -s dis88 $(DIST)$(PREFIX)/bin/dis86
+- install -m 644 dis88.1 $(DIST)$(PREFIX)/man/man1/dis86.1
++ install -m 644 dis88.1 $(DIST)$(PREFIX)/share/man/man1/dis86.1
+
+ $(OBJ): dis.h a.out.h
+
+diff -wbBur dev86-0.16.19.org/Makefile dev86-0.16.19/Makefile
+--- dev86-0.16.19.org/Makefile 2012-08-14 00:10:08.000000000 +0400
++++ dev86-0.16.19/Makefile 2012-10-24 14:45:50.917920191 +0400
+@@ -17,7 +17,7 @@
+ LIBDIR= $(PREFIX)/lib/bcc
+ INCLDIR= $(PREFIX)/lib/bcc
+ ASLDDIR= $(BINDIR)
+-MANDIR= $(PREFIX)/man
++MANDIR= $(PREFIX)/share/man
+ CFLAGS= -O
+ IFDEFNAME= ifdef
+
+diff -wbBur dev86-0.16.19.org/man/Makefile dev86-0.16.19/man/Makefile
+--- dev86-0.16.19.org/man/Makefile 1998-07-31 17:03:30.000000000 +0400
++++ dev86-0.16.19/man/Makefile 2012-10-24 14:45:55.494587123 +0400
+@@ -1,5 +1,5 @@
+
+-MANDIR=/usr/man
++MANDIR=/usr/share/man
+ MAN1PG=as86.1 bcc.1 elks.1 elksemu.1 ld86.1
+ MAN1DIR=$(MANDIR)/man1
+
More information about the arch-commits
mailing list