diff options
author | Jonathan Kotta | 2016-11-21 12:38:41 -0600 |
---|---|---|
committer | Jonathan Kotta | 2016-11-21 12:40:26 -0600 |
commit | 60177ea6397bfe6e76a7d9cd9161c86a56f4e932 (patch) | |
tree | cc8180f6a0be63a9d18a06e207b9279a6bb4ddab | |
parent | a0ab073c5bdbc7acb0755a74a3727667b033838f (diff) | |
download | aur-60177ea6397bfe6e76a7d9cd9161c86a56f4e932.tar.gz |
use --program-transform-name instead of manually renaming ctags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 3 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = emacs-lucid pkgdesc = The extensible, customizable, self-documenting real-time display editor (Lucid toolkit version) pkgver = 25.1 - pkgrel = 3 + pkgrel = 4 url = http://www.gnu.org/software/emacs/emacs.html arch = i686 arch = x86_64 @@ -6,7 +6,7 @@ pkgname=emacs-lucid pkgver=25.1 -pkgrel=3 +pkgrel=4 pkgdesc="The extensible, customizable, self-documenting real-time display editor (Lucid toolkit version)" arch=('i686' 'x86_64') url="http://www.gnu.org/software/emacs/emacs.html" @@ -25,7 +25,7 @@ build() { ./configure \ --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var \ --with-x-toolkit=lucid --with-xft --without-gconf --without-gsettings \ - --with-gameuser=:games + --with-gameuser=:games --program-transform-name='s/^ctags$/ctags.emacs/' make } @@ -33,10 +33,6 @@ package() { cd "$srcdir"/emacs-$pkgver make DESTDIR="$pkgdir" install - # remove conflict with ctags package - mv "$pkgdir"/usr/bin/{ctags,ctags.emacs} - mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1} - # fix user/root permissions on usr/share files find "$pkgdir"/usr/share/emacs/$pkgver -exec chown root:root {} \; |