[arch-commits] Commit in remacs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Mar 14 13:56:15 UTC 2019


    Date: Thursday, March 14, 2019 @ 13:56:15
  Author: arodseth
Revision: 441015

archrelease: copy trunk to community-x86_64

Added:
  remacs/repos/community-x86_64/PKGBUILD
    (from rev 441014, remacs/trunk/PKGBUILD)
Deleted:
  remacs/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 13:56:08 UTC (rev 441014)
+++ PKGBUILD	2019-03-14 13:56:15 UTC (rev 441015)
@@ -1,65 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Chris Nixon <chris.nixon at sigma.me.uk>
-
-pkgname=remacs
-pkgver=0.0.0
-pkgrel=1
-pkgdesc='Emacs with parts of it written in Rust'
-arch=(x86_64)
-url='https://github.com/Wilfred/remacs.git'
-license=(GPL)
-depends=(gnutls gpm)
-makedepends=(cargo clang git rustup setconf)
-source=('git+https://github.com/Wilfred/remacs#commit=dc2ea22ddfa1ba077178ffab')
-sha256sums=('SKIP')
-
-prepare() {
-  cd "$pkgname"
-
-  ./autogen.sh
-
-  # Use full path to remacs and remacsclient
-  setconf etc/remacs.service ExecStart '/usr/bin/remacs --fg-daemon'
-  setconf etc/remacs.service ExecStop '/usr/bin/remacsclient --eval "(kill-emacs)"'
-}
-
-build() {
-  cd "$pkgname"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --localstatedir=/var \
-    --mandir=/usr/share/man \
-    --infodir=/usr/share/info \
-    --with-sound=no \
-    --with-modules \
-    --without-xft \
-    --without-gconf \
-    --without-gsettings \
-    --without-cairo \
-    --without-xwidgets \
-    --without-makeinfo \
-    --without-x \
-    --enable-link-time-optimization
-  make
-}
-
-package() {
-  make -C "$pkgname" DESTDIR="$pkgdir" install
-
-  # avoid conflicts with other packages
-  rm "$pkgdir/usr/"{bin/{ctags,etags,ebrowse},share/man/man1/{ctags,etags,ebrowse}.1.gz}
-  mv "$pkgdir/usr/share/man/man1/"{e,re}macs.1.gz
-  mv "$pkgdir/usr/share/man/man1/"{e,re}macsclient.1.gz
-  rm -r "$pkgdir/usr/share/info"
-
-  # skip /var/games, /usr/share/pixmaps and /usr/share/applications
-  rm -rf "$pkgdir/"{var/games,usr/share/{pixmaps,applications}}
-
-  # fix permissions
-  find "$pkgdir"/usr/share/remacs/ -exec chown root:root {} \;
-}
-
-# vim: ts=2 sw=2 et:

Copied: remacs/repos/community-x86_64/PKGBUILD (from rev 441014, remacs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-14 13:56:15 UTC (rev 441015)
@@ -0,0 +1,65 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Nixon <chris.nixon at sigma.me.uk>
+
+pkgname=remacs
+pkgver=27.0.50
+pkgrel=1
+pkgdesc='Emacs with parts of it written in Rust'
+arch=(x86_64)
+url='https://github.com/Wilfred/remacs'
+license=(GPL)
+depends=(gnutls gpm libxml2)
+makedepends=(cargo clang git rustup setconf)
+source=('git+https://github.com/Wilfred/remacs#commit=b85ab243b3ddf3261a895f')
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+
+  ./autogen.sh
+
+  # Use full path to remacs and remacsclient
+  setconf etc/remacs.service ExecStart '/usr/bin/remacs --fg-daemon'
+  setconf etc/remacs.service ExecStop '/usr/bin/remacsclient --eval "(kill-emacs)"'
+}
+
+build() {
+  cd $pkgname
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --mandir=/usr/share/man \
+    --infodir=/usr/share/info \
+    --with-sound=no \
+    --with-modules \
+    --without-xft \
+    --without-gconf \
+    --without-gsettings \
+    --without-cairo \
+    --without-xwidgets \
+    --without-makeinfo \
+    --without-x \
+    --enable-link-time-optimization
+  make
+}
+
+package() {
+  make -C "$pkgname" DESTDIR="$pkgdir" install-strip
+
+  # avoid conflicts with other packages
+  rm "$pkgdir/usr/"{bin/{ctags,etags,ebrowse},share/man/man1/{ctags,etags,ebrowse}.1.gz}
+  mv "$pkgdir/usr/share/man/man1/"{e,re}macs.1.gz
+  mv "$pkgdir/usr/share/man/man1/"{e,re}macsclient.1.gz
+  rm -r "$pkgdir/usr/share/info"
+
+  # skip /var/games, /usr/share/pixmaps and /usr/share/applications
+  rm -rf "$pkgdir/"{var/games,usr/share/{pixmaps,applications}}
+
+  # fix permissions
+  find "$pkgdir"/usr/share/remacs/ -exec chown root:root {} \;
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list