diff --git a/srcpkgs/sword-devel b/srcpkgs/sword-devel new file mode 120000 index 00000000000..fec9ffa97fe --- /dev/null +++ b/srcpkgs/sword-devel @@ -0,0 +1 @@ +sword \ No newline at end of file diff --git a/srcpkgs/sword/files/sword.conf b/srcpkgs/sword/files/sword.conf new file mode 100644 index 00000000000..a518f305846 --- /dev/null +++ b/srcpkgs/sword/files/sword.conf @@ -0,0 +1,2 @@ +[Install] +DataPath=/usr/share/sword diff --git a/srcpkgs/sword/template b/srcpkgs/sword/template new file mode 100644 index 00000000000..98da135d428 --- /dev/null +++ b/srcpkgs/sword/template @@ -0,0 +1,33 @@ +# Template file for 'sword' +pkgname=sword +version=1.8.1 +revision=1 +build_style=gnu-configure +configure_args="--prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --without-conf --disable-shared --with-icuregex" +hostmakedepends="libtool automake pkg-config" +makedepends="icu-devel clucene-devel libcurl-devel zlib-devel" +conf_files="/etc/sword.conf" +short_desc="CrossWire Bible Society's free Bible software project" +maintainer="Dan Arnfield " +license="GPL-2" +homepage="https://crosswire.org/sword/index.jsp" +distfiles="https://crosswire.org/ftpmirror/pub/sword/source/v1.8/sword-1.8.1.tar.gz" +checksum=ce9aa8f721a737f406115d35ff438bd07c829fce1605f0d6dcdabc4318bc5e93 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vconf ${FILESDIR}/sword.conf +} + +sword-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +}