summaryrefslogtreecommitdiff
path: root/community/sword/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-24 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2011-11-24 23:14:53 +0000
commit5894dd675f4bd3ba296d262fae99b3b87a0f87fd (patch)
treea39397b8475e7ca9c5d6950d607183669edfac53 /community/sword/PKGBUILD
parent1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff)
Thu Nov 24 23:14:53 UTC 2011
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 e79d84f26..e6e2387a5 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