diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /community/mac/PKGBUILD | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/mac/PKGBUILD')
-rw-r--r-- | community/mac/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/mac/PKGBUILD b/community/mac/PKGBUILD new file mode 100644 index 000000000..3e9bef667 --- /dev/null +++ b/community/mac/PKGBUILD @@ -0,0 +1,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 +} |