mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 06:34:36 +08:00
28 lines
862 B
Bash
28 lines
862 B
Bash
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
|
# Contributor: TripleE <eric1548@yahoo.com>
|
|
|
|
pkgname=sword
|
|
pkgver=1.6.1
|
|
pkgrel=4
|
|
pkgdesc="SWORD libraries for Bible programs"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.crosswire.org/sword/index.jsp"
|
|
license=('GPL')
|
|
depends=('curl' 'icu' 'clucene')
|
|
source=(http://www.crosswire.org/ftpmirror/pub/${pkgname}/source/v1.6/${pkgname}-${pkgver}.tar.gz curl_7.20.patch)
|
|
md5sums=('347e72f73313ff3ba700368db76a5d50' '3f89ebecb04b52a274929253ef60753f')
|
|
backup=('etc/sword.conf')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
patch -p0 < ${srcdir}/curl_7.20.patch || return 1
|
|
./configure --prefix=/usr --sysconfdir=/etc --with-icu || return 1
|
|
make || return 1
|
|
}
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
make DESTDIR=${pkgdir} install_config || return 1
|
|
}
|
|
|