From 3aabd6016344dab798425905a50bc4acc392f8ea Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 19 Nov 2011 01:26:21 -0500 Subject: fix unar and unarchiver (I need to be more diligent) --- ~lukeshu/unar/PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to '~lukeshu/unar/PKGBUILD') diff --git a/~lukeshu/unar/PKGBUILD b/~lukeshu/unar/PKGBUILD index f07494266..b1931c498 100644 --- a/~lukeshu/unar/PKGBUILD +++ b/~lukeshu/unar/PKGBUILD @@ -19,6 +19,10 @@ source=("https://theunarchiver.googlecode.com/files/unar${pkgver}_src.zip") build() { cd "$srcdir/XADMaster" + # remove some OS X object files that were accidentally included in the dist + # (we've all done it) + find "$srcdir" -name '*.o' -delete + # build everything . /usr/share/GNUstep/Makefiles/GNUstep.sh make -f Makefile.linux @@ -60,13 +64,14 @@ package_libxadmaster() { pkgdesc="An Objective-C library built around libxad adding support for other formats" depends+=('libuniversaldetector') - header_files= \ - CommandLineCommon.h \ - NSStringPrinting.h \ - XADArchive.h \ - XADRegex.h \ - XADSimpleUnarchvier.h \ + header_files=' + CommandLineCommon.h + NSStringPrinting.h + XADArchive.h + XADRegex.h + XADSimpleUnarchiver.h XADUnarchiver.h + ' cd "$srcdir/XADMaster" install -d "$pkgdir/usr/lib" -- cgit v1.2.3-54-g00ecf