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

Jakob Gruber schuay at archlinux.org
Mon May 13 19:28:24 UTC 2019


    Date: Monday, May 13, 2019 @ 19:28:23
  Author: schuay
Revision: 467166

upgpkg: mac 4.71-1

4.71-1

Modified:
  mac/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++-------------------
 1 file changed, 16 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-13 19:15:44 UTC (rev 467165)
+++ PKGBUILD	2019-05-13 19:28:23 UTC (rev 467166)
@@ -1,36 +1,33 @@
 # Maintainer: schuay <jakob.gruber at gmail.com>
 # Contributor: stonecrest <stonecrest[at]gmail[dot]com>
+# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
 
 pkgname=mac
-pkgver='3.99u4b5'
-_pkgver='3.99-u4-b5-s7'
-pkgrel=9
+pkgver=4.71
+pkgrel=1
 pkgdesc='APE codec and decompressor'
 arch=('x86_64')
-url='http://etree.org/shnutils/shntool/'
+url='https://www.monkeysaudio.com/index.html'
 license=('custom')
 depends=('gcc-libs')
-makedepends=('yasm')
-_baseurl='http://etree.org/shnutils/shntool/support/formats/ape/unix'
-source=("${_baseurl}/${_pkgver}/${pkgname}-${_pkgver}.tar.gz" mac-gcc6.patch)
-md5sums=('74df3c96476636387ddd12255b03bebe'
-         'd3e9814f519b523a5dd86f8f86e3a69c')
+makedepends=('curl')
+source=("https://monkeysaudio.com/files/MAC_SDK_${pkgver//.}.zip")
+sha256sums=('557adc2ec6865bfb0ba6c26d461f4c6172f1d542f71b3cf47f0cef52f99ac664')
 
 prepare() {
-  cd $pkgname-$_pkgver
-  patch -p1 -i ../mac-gcc6.patch # Fix build with GCC 6 (Gentoo)
+  cd "${srcdir}"
+  curl --remote-name "https://www.monkeysaudio.com/license.html"
+  ln -s "${srcdir}/Source/Projects/NonWindows/Makefile" "Makefile"
 }
 
 build() {
-  cd "${srcdir}"/${pkgname}-${_pkgver}
+  cd "${srcdir}"
+  make
+}
 
-  CXXFLAGS="-DSHNTOOL" ./configure --prefix=/usr --enable-assembly=yes 
-  CXXFLAGS="-DSHNTOOL" make
-}
 package() {
-  cd "${srcdir}"/${pkgname}-${_pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 src/License.htm \
+  cd "${srcdir}"
+  make DESTDIR="${pkgdir}" prefix="/usr" install
+  install -Dm644 license.html \
       "${pkgdir}"/usr/share/licenses/${pkgname}/license.htm
 }


More information about the arch-commits mailing list