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

Lukas Fleischer lfleischer at archlinux.org
Tue Oct 21 20:16:03 UTC 2014


    Date: Tuesday, October 21, 2014 @ 22:16:03
  Author: lfleischer
Revision: 121169

upgpkg: stk 4.5.0-1

* Upstream update.
* Use the install target of the Makefile for installation.

Modified:
  stk/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++---------------------
 1 file changed, 4 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-21 19:31:13 UTC (rev 121168)
+++ PKGBUILD	2014-10-21 20:16:03 UTC (rev 121169)
@@ -3,8 +3,8 @@
 # Contributor: Mateusz Herych <heniekk at gmail.com>
 
 pkgname=stk
-pkgver=4.4.4
-pkgrel=2
+pkgver=4.5.0
+pkgrel=1
 pkgdesc='The Synthesis ToolKit in C++'
 arch=('i686' 'x86_64')
 url='http://ccrma.stanford.edu/software/stk/'
@@ -15,7 +15,7 @@
 source=("http://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz"
         "$pkgname.license"
         runtime.patch)
-md5sums=('66646cb1117eee2d767c4571cc51a8c3'
+md5sums=('2fd27e51dd0df92edcf96bd9080db76d'
          'a0163d75a5f516b6c93f4fc948acff73'
          '36551c348340307c765fde85d4336e73')
 
@@ -42,25 +42,8 @@
 package() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  mkdir -p "$pkgdir"/usr/{bin,{lib,include}/stk}
+  make DESTDIR="${pkgdir}" install
 
-  # install library
-  cp -a src/libstk.* "$pkgdir/usr/lib/"
-
-  # install headers
-  install -m644 include/* "$pkgdir/usr/include/stk/"
-
-  # install runtime files
-  cp -a rawwaves projects/demo/{demo,tcl} projects/effects/{effects,tcl} \
-    projects/ragamatic/{ragamat,tcl,rawwaves} "$pkgdir/usr/lib/stk/"
-
-  # install executables
-  install -m755 projects/{demo/StkDemo,effects/StkEffects} "$pkgdir/usr/bin/"
-  install -m755 projects/ragamatic/Raga "$pkgdir/usr/bin/StkRagamatic"
-
   # install license
   install -Dm644 "../$pkgname.license" "$pkgdir/usr/share/licenses/stk/LICENSE"
-
-  # remove .DS_Store directory: https://bugs.archlinux.org/task/25255
-  rm -rf "${pkgdir}/usr/lib/stk/rawwaves/.DS_Store"
 }



More information about the arch-commits mailing list