summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-19 01:26:21 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-19 01:26:21 -0500
commit3aabd6016344dab798425905a50bc4acc392f8ea (patch)
treef47075896d60950c4150eff510cba51a95635386
parentc39eed971bd6fffd2bc1640c6c75d21e53da4620 (diff)
fix unar and unarchiver (I need to be more diligent)
-rw-r--r--~lukeshu/unar/PKGBUILD17
-rw-r--r--~lukeshu/unarchiver/PKGBUILD11
2 files changed, 17 insertions, 11 deletions
diff --git a/~lukeshu/unar/PKGBUILD b/~lukeshu/unar/PKGBUILD
index f074942..b1931c4 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"
diff --git a/~lukeshu/unarchiver/PKGBUILD b/~lukeshu/unarchiver/PKGBUILD
index ab58c2f..e1c2f4d 100644
--- a/~lukeshu/unarchiver/PKGBUILD
+++ b/~lukeshu/unarchiver/PKGBUILD
@@ -61,12 +61,13 @@ 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 \
+ header_files='
+ CommandLineCommon.h
+ NSStringPrinting.h
+ XADArchive.h
+ XADRegex.h
XADUnarchiver.h
+ '
cd "$srcdir/The Unarchiver/XADMaster"
install -d "$pkgdir/usr/lib"