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

Felix Yan felixonmars at archlinux.org
Sun Feb 21 19:16:42 UTC 2021


    Date: Sunday, February 21, 2021 @ 19:16:42
  Author: felixonmars
Revision: 867857

upgpkg: sword 1.9.0-1

Modified:
  sword/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-21 19:16:30 UTC (rev 867856)
+++ PKGBUILD	2021-02-21 19:16:42 UTC (rev 867857)
@@ -8,9 +8,9 @@
 
 pkgbase=sword
 pkgname=(sword python-sword)
-_mainver=1.8
-pkgver=1.8.1
-pkgrel=11
+_mainver=1.9
+pkgver=1.9.0
+pkgrel=1
 pkgdesc="Library for Bible study programs"
 arch=('x86_64')
 url="https://www.crosswire.org/sword/"
@@ -17,15 +17,15 @@
 license=('GPL')
 makedepends=('curl' 'clucene' 'swig' 'cmake' 'python')
 source=("https://www.crosswire.org/ftpmirror/pub/$pkgbase/source/v$_mainver/$pkgbase-$pkgver.tar.gz")
-sha512sums=('5c08c070ea0c86b7d929bbf94c89730eb5a487986deb9edf01c08d1710356aecd1ab3bde4437a778e5fc1ceb05b63287612ec6161381c0986a36344c27d2ab36')
+sha512sums=('9ed3fbb5024af1f93b1473bae0d95534d02a5b00b3c9d41a0f855cee8106dc4e330844080adbee7c3f74c0e5ce1480bf16c87c842421337a341f641bae11137f')
 
 prepare() {
-  cd "$srcdir/$pkgbase-$pkgver"
+  cd $pkgbase-$pkgver
   mkdir build
 }
 
 build() {
-  cd "$srcdir/$pkgbase-$pkgver/build"
+  cd $pkgbase-$pkgver/build
 
   # http://site.icu-project.org/download/61#TOC-Migration-Issues
   CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
@@ -32,7 +32,7 @@
 
   #./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
   cmake .. -DLIBSWORD_LIBRARY_TYPE="Shared" -DSYSCONF_INSTALL_DIR='/etc' \
-           -DSWORD_BUILD_TESTS="Yes" -DSWORD_BINDINGS="Python" -DCMAKE_INSTALL_PREFIX=/usr
+           -DSWORD_BUILD_TESTS="Yes" -DSWORD_PYTHON_3=TRUE -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
@@ -40,7 +40,7 @@
   depends=('curl' 'clucene' 'swig' 'xz')
   backup=('etc/sword.conf')
 
-  cd "$srcdir/$pkgbase-$pkgver/build"
+  cd $pkgbase-$pkgver/build
   make DESTDIR="$pkgdir" install
 }
 
@@ -47,6 +47,6 @@
 package_python-sword() {
   depends=('sword' 'python')
 
-  cd "$srcdir/$pkgbase-$pkgver/build/bindings/swig/python"
+  cd $pkgbase-$pkgver/build/bindings/swig/python3
   python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
 }



More information about the arch-commits mailing list