[arch-commits] Commit in remacs/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Apr 30 11:24:36 UTC 2019
Date: Tuesday, April 30, 2019 @ 11:24:35
Author: arodseth
Revision: 456751
archrelease: copy trunk to community-x86_64
Added:
remacs/repos/community-x86_64/PKGBUILD
(from rev 456750, remacs/trunk/PKGBUILD)
Deleted:
remacs/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-30 11:24:26 UTC (rev 456750)
+++ PKGBUILD 2019-04-30 11:24:35 UTC (rev 456751)
@@ -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=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:
Copied: remacs/repos/community-x86_64/PKGBUILD (from rev 456750, remacs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-30 11:24:35 UTC (rev 456751)
@@ -0,0 +1,67 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Nixon <chris.nixon at sigma.me.uk>
+
+pkgname=remacs
+pkgver=0.1
+pkgrel=1
+epoch=1
+pkgdesc='Emacs with parts of it written in Rust'
+arch=(x86_64)
+url='https://github.com/remacs/remacs'
+license=(GPL)
+depends=(gnutls gpm libxml2)
+makedepends=(cargo clang git rustup setconf)
+source=("git+https://github.com/remacs/remacs#tag=$pkgver")
+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
+
+ export LC_ALL=C
+ ./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