summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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"
diff --git a/~lukeshu/unarchiver/PKGBUILD b/~lukeshu/unarchiver/PKGBUILD
index ab58c2f2d..e1c2f4da9 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"