summaryrefslogtreecommitdiff
path: root/community/mac/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mac/PKGBUILD')
-rw-r--r--community/mac/PKGBUILD30
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
+}