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

Jan Steffens heftig at archlinux.org
Thu Mar 30 21:04:48 UTC 2017


    Date: Thursday, March 30, 2017 @ 21:04:47
  Author: heftig
Revision: 291912

1.2.12-5

Modified:
  sdl_mixer/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-30 21:04:04 UTC (rev 291911)
+++ PKGBUILD	2017-03-30 21:04:47 UTC (rev 291912)
@@ -6,24 +6,24 @@
 
 pkgname=sdl_mixer
 pkgver=1.2.12
-pkgrel=4
+pkgrel=5
 pkgdesc="A simple multi-channel audio mixer"
-arch=('i686' 'x86_64')
-url="http://www.libsdl.org/projects/SDL_mixer/"
-license=('custom')
-depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
-makedepends=('fluidsynth')
+url="https://www.libsdl.org/projects/SDL_mixer/"
+arch=(i686 x86_64)
+license=(custom)
+depends=('sdl>=1.2.12' libvorbis libmikmod smpeg)
+makedepends=(fluidsynth)
 optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
-source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz
+source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz
         mikmod1.patch mikmod2.patch fluidsynth-volume.patch double-free-crash.patch)
-md5sums=('e03ff73d77a55e3572ad0217131dc4a1'
-         '95a6d58686fe3017d58c39e3e1dd40f7'
-         'd823994c3961f2ff48644478f27a27d1'
-         'eed8b61defde36ac2077ef96d868ea3e'
-         '4b4835c63297f016a198cacb7dd68ec1')
+sha256sums=('1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a'
+            'e0d36cd81083a0b033436b8f300cc4f4513a6043e57fea139afbade02dbe0de8'
+            'a0c5326b4363464159a38dc51badad984b65ce0fa4c3b1dd1ad5f73bc7b6c55e'
+            '4b6c567debf18c88398d4045a6e4ed0954f0e04cc61162ca907a83ddec17cd70'
+            'b707f5c8d1229d1612cc8a9f4e976f0a3b19ea40d7bd1d5bc1cbd5c9f8bca56d')
 
-build() {
-  cd "$srcdir/SDL_mixer-$pkgver"
+prepare() {
+  cd SDL_mixer-$pkgver
 
   patch -Np1 -i ../mikmod1.patch
   patch -Np1 -i ../mikmod2.patch
@@ -34,14 +34,16 @@
       -e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
       -e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \
       -i timidity/config.h
+}
 
+build() {
+  cd SDL_mixer-$pkgver
   ./configure --prefix=/usr --disable-static
   make
 }
 
 package() {
-  cd "$srcdir/SDL_mixer-$pkgver"
+  cd SDL_mixer-$pkgver
   make DESTDIR="$pkgdir" install
-
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list