[arch-commits] Commit in (sword sword/repos sword/trunk sword/trunk/PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Dec 27 10:26:34 UTC 2014


    Date: Saturday, December 27, 2014 @ 11:26:33
  Author: fyan
Revision: 124664

addpkg: sword 1.7.4-1

Added:
  sword/
  sword/repos/
  sword/trunk/
  sword/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Added: sword/trunk/PKGBUILD
===================================================================
--- sword/trunk/PKGBUILD	                        (rev 0)
+++ sword/trunk/PKGBUILD	2014-12-27 10:26:33 UTC (rev 124664)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: SanskritFritz (gmail)
+# Contributor: Alexander Rødseth
+# Contributor: Andrea Scarpino
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: TripleE <eric1548 at yahoo.com>
+# Contributor: Dominic Tubach
+
+pkgname=sword
+_mainver=1.7
+pkgver=$_mainver.4
+pkgrel=1
+pkgdesc="Library for Bible study programs"
+arch=('x86_64' 'i686')
+url="http://www.crosswire.org/sword/"
+license=('GPL')
+depends=('curl' 'clucene' 'swig')
+makedepends=('cmake')
+backup=('etc/sword.conf')
+source=("http://www.crosswire.org/ftpmirror/pub/$pkgname/source/v$_mainver/$pkgname-$pkgver.tar.gz")
+md5sums=('1677f02a86cbf07713d4e1d4c39791e6')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's/OPTIONS="--without-conf/#OPTIONS="--without-conf/' usrinst.sh
+  sed -i 's/OPTIONS="--disable-shared/#OPTIONS="--disable-shared/' usrinst.sh
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  mkdir --parents "$pkgdir/etc"
+  make DESTDIR="$pkgdir" install_config
+}


Property changes on: sword/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list