summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRonny Lorenz2016-04-09 13:50:36 +0200
committerRonny Lorenz2016-04-09 13:50:36 +0200
commit853ae1eb8c6cd4f5a2adcaeac24845d31eddab21 (patch)
tree4685f8a091ae1088d9f1ecf5b1c97da8db7bec11 /PKGBUILD
parent3aedcbcf25aeb98f2082d45b264921e2e0c04843 (diff)
downloadaur-853ae1eb8c6cd4f5a2adcaeac24845d31eddab21.tar.gz
Include Python3 interface
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index db01472a871..80db9e2e95f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Ronny Lorenz <ronny at tbi dot univie dot ac dot at>
pkgbase=viennarna
-pkgname=('viennarna' 'python2-rna' 'perl-rna')
+pkgname=('viennarna' 'python-rna' 'python2-rna' 'perl-rna')
pkgver=2.2.5
-pkgrel=1
+pkgrel=2
pkgdesc="RNA Secondary Structure Prediction and Comparison"
arch=('x86_64' 'i686')
license=('Custom')
@@ -11,6 +11,7 @@ url="http://www.tbi.univie.ac.at/RNA"
groups=('viennarna-package')
makedepends=( 'perl'
'python2'
+ 'python'
'libtool'
'check')
source=(http://www.tbi.univie.ac.at/RNA/packages/source/ViennaRNA-${pkgver}.tar.gz)
@@ -20,7 +21,7 @@ sha256sums=('12654f0ba5e516d5eeb018dc76485b1c5a3ba010c61f40f1221aad5c3815cc29')
build() {
cd "${srcdir}/ViennaRNA-${pkgver}"
- ./configure --with-cluster --prefix=/usr INSTALLDIRS=vendor
+ ./configure --with-cluster --with-python3 --prefix=/usr INSTALLDIRS=vendor
make
}
@@ -87,6 +88,13 @@ package_python2-rna() {
make DESTDIR="${pkgdir}" install
}
+package_python-rna() {
+ depends=('python' viennarna="${pkgver}")
+ cd "${srcdir}/ViennaRNA-${pkgver}"
+ cd interfaces/Python3
+ make DESTDIR="${pkgdir}" install
+}
+
package_perl-rna() {
depends=('perl' viennarna="${pkgver}")
cd "${srcdir}/ViennaRNA-${pkgver}"