[arch-commits] Commit in emms/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Dec 22 23:06:45 UTC 2017


    Date: Friday, December 22, 2017 @ 23:06:45
  Author: arojas
Revision: 275577

Update to 4.4

Modified:
  emms/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 22:26:54 UTC (rev 275576)
+++ PKGBUILD	2017-12-22 23:06:45 UTC (rev 275577)
@@ -4,8 +4,8 @@
 
 pkgname=emms
 epoch=1
-pkgver=4.3
-pkgrel=2
+pkgver=4.4
+pkgrel=1
 pkgdesc="The Emacs Multimedia System"
 url="http://www.gnu.org/software/emms/"
 arch=('x86_64')
@@ -16,21 +16,25 @@
 validpgpkeys=('691BF9D0EEC472730726EB7869725A21D60EEC42')
 source=(https://ftp.gnu.org/gnu/emms/emms-$pkgver.tar.gz{,.sig})
 #source=(git://git.sv.gnu.org/emms.git)
-sha256sums=('00112d631eee0cfee80a85c048bfbf7c2d25886067ee02152376208ae87c2c36'
+sha256sums=('10ecc2e9c957ca1f80bbf8d9a0473b9eae552218aaea278dc8b10564215513ac'
             'SKIP')
 
-build() {
-  cd "$srcdir"/$pkgname-$pkgver
+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 "$srcdir"/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   mkdir -p "$pkgdir"/usr/bin
   mkdir -p "$pkgdir"/usr/share/{man/man1,info}
   make DESTDIR="$pkgdir" install INSTALLINFO=/usr/bin/true



More information about the arch-commits mailing list