Date: Wednesday, October 5, 2022 @ 02:51:29
  Author: blakkheim
Revision: 1321350

archrelease: copy trunk to community-x86_64

Added:
  mg/repos/community-x86_64/PKGBUILD
    (from rev 1321349, mg/trunk/PKGBUILD)
Deleted:
  mg/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 30 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-05 02:50:59 UTC (rev 1321349)
+++ PKGBUILD    2022-10-05 02:51:29 UTC (rev 1321350)
@@ -1,34 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-# Contributor: Sergej Pupykin <[email protected]>
-# Contributor: Hannes Rist <[email protected]>
-
-pkgname=mg
-pkgver=20210314
-pkgrel=2
-pkgdesc="Micro GNU/emacs, this is a portable version of the mg maintained by 
the OpenBSD team."
-arch=('x86_64')
-url="https://github.com/hboetes/mg";
-depends=('ncurses' 'libbsd')
-license=('custom')
-#source=("https://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz";)
-source=("mg-$pkgver.tgz::https://github.com/hboetes/mg/archive/$pkgver.tar.gz";)
-sha256sums=('6820e76a0e27d9a744624d421b3b30b0030140c2a817df1310b25c3abe397106')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  CFLAGS+=' -fcommon' # 
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
-  make prefix=/usr mandir=/usr/share/man
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  mkdir -p "$pkgdir/usr/bin"
-  make install INSTALL=install prefix=/usr mandir=/usr/share/man 
DESTDIR="$pkgdir" BINDIR=/usr/bin
-
-  mkdir -p "$pkgdir/usr/share/"
-  install -D -m0644 README "$pkgdir/usr/share/licenses/$pkgname/README"
-
-  mkdir -p "$pkgdir/usr/share/doc"
-  install -D -m0644 tutorial "$pkgdir/usr/share/doc/$pkgname/tutorial"
-}

Copied: mg/repos/community-x86_64/PKGBUILD (from rev 1321349, mg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-05 02:51:29 UTC (rev 1321350)
@@ -0,0 +1,30 @@
+# Maintainer: Kyle Keen <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Hannes Rist <[email protected]>
+
+pkgname=mg
+pkgver=20220614
+pkgrel=1
+pkgdesc="Micro GNU/emacs"
+arch=('x86_64')
+url="https://github.com/hboetes/mg";
+depends=('ncurses' 'libbsd')
+license=('custom')
+#source=("https://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz";)
+source=("mg-$pkgver.tgz::https://github.com/hboetes/mg/archive/$pkgver.tar.gz";)
+sha256sums=('d3bc16baba82457c4f60ecd258762ee2ed848064f79729fe92e29bfd181af121')
+
+build() {
+  cd mg-$pkgver
+  make prefix=/usr mandir=/usr/share/man
+}
+
+package() {
+  cd mg-$pkgver
+
+  install -d "$pkgdir/usr/bin"
+  make install INSTALL=install prefix=/usr mandir=/usr/share/man 
DESTDIR="$pkgdir" BINDIR=/usr/bin
+
+  install -Dm644 README -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 tutorial -t "$pkgdir/usr/share/doc/$pkgname"
+}

Reply via email to