summaryrefslogtreecommitdiff
path: root/community/mac/PKGBUILD
blob: 3e9bef6678551171a6c1a97573dcd9e924be14d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: stonecrest <stonecrest[at]gmail[dot]com>

pkgname=mac
pkgver='3.99u4b5'
_pkgver='3.99-u4-b5-s7'
pkgrel=5
pkgdesc='APE codec and decompressor'
arch=('i686' 'x86_64')
url='http://etree.org/shnutils/shntool/'
license=('custom')
depends=('gcc-libs')
makedepends=('yasm')
_baseurl='http://etree.org/shnutils/shntool/support/formats/ape/unix'
source=("${_baseurl}/${_pkgver}/${pkgname}-${_pkgver}.tar.gz")
md5sums=('74df3c96476636387ddd12255b03bebe')

build() {
  cd "${srcdir}"/${pkgname}-${_pkgver}

  ./configure --prefix=/usr --enable-assembly=yes 
  make
}
package() {
  cd "${srcdir}"/${pkgname}-${_pkgver}

  make DESTDIR="${pkgdir}" install
  install -Dm644 src/License.htm \
      "${pkgdir}"/usr/share/licenses/${pkgname}/license.htm
}