[arch-commits] Commit in emms/repos (3 files)
Pierre Neidhardt
ambrevar at archlinux.org
Fri Jan 12 11:07:36 UTC 2018
Date: Friday, January 12, 2018 @ 11:07:35
Author: ambrevar
Revision: 281564
archrelease: copy trunk to community-x86_64
Added:
emms/repos/community-x86_64/
emms/repos/community-x86_64/PKGBUILD
(from rev 281563, emms/trunk/PKGBUILD)
emms/repos/community-x86_64/emms.install
(from rev 281563, emms/trunk/emms.install)
--------------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
emms.install | 15 +++++++++++++++
2 files changed, 57 insertions(+)
Copied: emms/repos/community-x86_64/PKGBUILD (from rev 281563, emms/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-01-12 11:07:35 UTC (rev 281564)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Gour <gour at mail.inet.hr>
+
+pkgname=emms
+epoch=1
+pkgver=4.4
+pkgrel=2
+pkgdesc="The Emacs Multimedia System"
+url="http://www.gnu.org/software/emms/"
+arch=('x86_64')
+license=('GPL3')
+depends=('emacs' 'taglib')
+makedepends=('git')
+install=${pkgname}.install
+validpgpkeys=('691BF9D0EEC472730726EB7869725A21D60EEC42')
+source=(https://ftp.gnu.org/gnu/emms/emms-$pkgver.tar.gz{,.sig})
+#source=(git://git.sv.gnu.org/emms.git)
+sha256sums=('10ecc2e9c957ca1f80bbf8d9a0473b9eae552218aaea278dc8b10564215513ac'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i \
+ -e "s|/usr/local|/usr|g" \
+ -e "s|/info|/share/info|g" \
+ Makefile
+}
+
+build() {
+ cd $pkgname-$pkgver
+ make
+ make emms-print-metadata
+}
+
+package() {
+ cd $pkgname-$pkgver
+ mkdir -p "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/usr/share/{man/man1,info}
+ make DESTDIR="$pkgdir" install INSTALLINFO=/usr/bin/true
+}
Copied: emms/repos/community-x86_64/emms.install (from rev 281563, emms/trunk/emms.install)
===================================================================
--- community-x86_64/emms.install (rev 0)
+++ community-x86_64/emms.install 2018-01-12 11:07:35 UTC (rev 281564)
@@ -0,0 +1,15 @@
+post_install() {
+ cat << EOF
+==> In order to use EMMS, add the following lines to your ~/.emacs file:
+
+(require 'emms-setup)
+(emms-standard)
+(emms-default-players)
+
+For further configuration see the manual.
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}
More information about the arch-commits
mailing list