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

Felix Yan felixonmars at archlinux.org
Tue Apr 2 13:30:07 UTC 2019


    Date: Tuesday, April 2, 2019 @ 13:30:06
  Author: felixonmars
Revision: 447737

archrelease: copy trunk to community-x86_64

Added:
  sword/repos/community-x86_64/PKGBUILD
    (from rev 447736, sword/trunk/PKGBUILD)
Deleted:
  sword/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  115 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 52 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 13:29:56 UTC (rev 447736)
+++ PKGBUILD	2019-04-02 13:30:06 UTC (rev 447737)
@@ -1,63 +0,0 @@
-# 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
-
-pkgbase=sword
-pkgname=(sword python-sword python2-sword)
-_mainver=1.8
-pkgver=1.8.1
-pkgrel=4
-pkgdesc="Library for Bible study programs"
-arch=('x86_64')
-url="http://www.crosswire.org/sword/"
-license=('GPL')
-makedepends=('curl' 'clucene' 'swig' 'cmake' 'python' 'python2')
-source=("http://www.crosswire.org/ftpmirror/pub/$pkgbase/source/v$_mainver/$pkgbase-$pkgver.tar.gz")
-sha512sums=('5c08c070ea0c86b7d929bbf94c89730eb5a487986deb9edf01c08d1710356aecd1ab3bde4437a778e5fc1ceb05b63287612ec6161381c0986a36344c27d2ab36')
-
-prepare() {
-  cd "$srcdir/$pkgbase-$pkgver"
-  mkdir build
-}
-
-build() {
-  cd "$srcdir/$pkgbase-$pkgver/build"
-
-  # http://site.icu-project.org/download/61#TOC-Migration-Issues
-  CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
-
-  #./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
-  make
-
-  cp -a bindings/swig/python bindings/swig/python2
-  cd bindings/swig/python2
-  python2 setup.py build
-}
-
-package_sword() {
-  depends=('curl' 'clucene' 'swig' 'xz')
-  backup=('etc/sword.conf')
-
-  cd "$srcdir/$pkgbase-$pkgver/build"
-  make DESTDIR="$pkgdir" install
-}
-
-package_python-sword() {
-  depends=('sword' 'python')
-
-  cd "$srcdir/$pkgbase-$pkgver/build/bindings/swig/python"
-  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
-}
-
-package_python2-sword() {
-  depends=('sword' 'python2')
-
-  cd "$srcdir/$pkgbase-$pkgver/build/bindings/swig/python2"
-  python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
-}

Copied: sword/repos/community-x86_64/PKGBUILD (from rev 447736, sword/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 13:30:06 UTC (rev 447737)
@@ -0,0 +1,52 @@
+# 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
+
+pkgbase=sword
+pkgname=(sword python-sword)
+_mainver=1.8
+pkgver=1.8.1
+pkgrel=5
+pkgdesc="Library for Bible study programs"
+arch=('x86_64')
+url="http://www.crosswire.org/sword/"
+license=('GPL')
+makedepends=('curl' 'clucene' 'swig' 'cmake' 'python')
+source=("http://www.crosswire.org/ftpmirror/pub/$pkgbase/source/v$_mainver/$pkgbase-$pkgver.tar.gz")
+sha512sums=('5c08c070ea0c86b7d929bbf94c89730eb5a487986deb9edf01c08d1710356aecd1ab3bde4437a778e5fc1ceb05b63287612ec6161381c0986a36344c27d2ab36')
+
+prepare() {
+  cd "$srcdir/$pkgbase-$pkgver"
+  mkdir build
+}
+
+build() {
+  cd "$srcdir/$pkgbase-$pkgver/build"
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+  #./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
+  make
+}
+
+package_sword() {
+  depends=('curl' 'clucene' 'swig' 'xz')
+  backup=('etc/sword.conf')
+
+  cd "$srcdir/$pkgbase-$pkgver/build"
+  make DESTDIR="$pkgdir" install
+}
+
+package_python-sword() {
+  depends=('sword' 'python')
+
+  cd "$srcdir/$pkgbase-$pkgver/build/bindings/swig/python"
+  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
+}


More information about the arch-commits mailing list