summaryrefslogtreecommitdiff
path: root/community/sword/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sword/PKGBUILD')
-rw-r--r--community/sword/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/sword/PKGBUILD b/community/sword/PKGBUILD
index 3908c9d5d..3a3659dc6 100644
--- a/community/sword/PKGBUILD
+++ b/community/sword/PKGBUILD
@@ -1,5 +1,6 @@
-# $Id: PKGBUILD 52657 2011-07-26 22:56:39Z shusmann $
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# $Id: PKGBUILD 59377 2011-11-23 21:18:49Z andrea $
+# Maintainer:
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: TripleE <eric1548@yahoo.com>
pkgname=sword
@@ -18,9 +19,10 @@ md5sums=('a7dc4456e20e915fec46d774b690e305'
build() {
cd "${srcdir}"/$pkgname-$pkgver
- patch -p1 < $srcdir/curl.patch
+ patch -p1 -i $srcdir/curl.patch
+
cd $srcdir
- [[ -d build ]] || mkdir build
+ mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -34,7 +36,7 @@ package() {
# Ugly workarounds to fix a weird cmakelists.txt
install -d "${pkgdir}"/usr/lib/sword
- mv "${pkgdir}"/usr/lib/1.6.2_icu_4.8 "${pkgdir}"/usr/lib/sword/
+ mv "${pkgdir}"/usr/lib/1.6.2_icu_4.8* "${pkgdir}"/usr/lib/sword/
cd "${srcdir}"/${pkgname}-${pkgver}/locales.d/
for file in *.conf; do