summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHector Martinez-Seara2020-03-06 18:11:56 +0100
committerHector Martinez-Seara2020-03-06 18:11:56 +0100
commit0f638669fe13fbcf52f858140beae660ec8ba33d (patch)
tree0395d49fd0fe539b90655d0554dea63ad5c407cd /PKGBUILD
parent9c7f0dd881eb53a4d56cad22cb6838263bb7c226 (diff)
downloadaur-dssp.tar.gz
Updated to v3.1.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 11 insertions, 24 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b14853ae4a6..65ab01421f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,29 @@
# Maintainer: Hector Mtz-Seara <hseara at gmail dot com>
pkgname=dssp
-pkgver=3.0.0
-pkgrel=3
+pkgver=3.1.4
+pkgrel=1
pkgdesc="Secondary structure assignment for proteins"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://swift.cmbi.ru.nl/gv/dssp/HTML/distrib.html"
license=('custom')
depends=('boost-libs')
makedepends=('boost')
-source=("$pkgname-$pkgver.tar.gz::ftp://ftp.cmbi.ru.nl/pub/software/$pkgname/$pkgname-$pkgver.tgz")
-sha1sums=('4b35bc8e7d9f62262b00b918d5b194fbdd65ffaa')
-
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's/-static//' makefile
- sed -i 's:<boost/tr1/tuple.hpp>:<boost/tuple/tuple.hpp>:' ./src/mas.cpp
- sed -i 's/tr1::tuple/boost::tuple/' ./src/mas.cpp
- sed -i 's:<boost/tr1/tuple.hpp>:<boost/tuple/tuple.hpp>:' ./src/primitives-3d.h
- sed -i 's/std::tr1::tuple/boost::tuple/' ./src/primitives-3d.h
- sed -i 's/std::tr1::tuple/boost::tuple/' ./src/primitives-3d.cpp
- sed -i 's/std::tr1::tuple/boost::tuple/' ./src/structure.h
- sed -i 's/std::tr1::tuple/boost::tuple/' ./src/structure.cpp
- sed -i 's/std::tr1::tie/boost::tie/' ./src/dssp.cpp
- sed -i 's/std::tr1::make_tuple/boost::make_tuple/' ./src/structure.cpp
- sed -i 's/std::tr1::make_tuple/boost::make_tuple/' ./src/primitives-3d.cpp
-}
+source=("https://github.com/cmbi/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('496282b4b5defc55d111190ab9f1b615a9574a2f090e7cf5444521c747b272d4')
build() {
cd "$srcdir/$pkgname-$pkgver"
- make
- sed -i 's:$(DEST_DIR)/man/man1:$(DEST_DIR)/share/man/man1/:' makefile
+ ./autogen.sh
+ ./configure --prefix=/usr/
+ make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DEST_DIR="${pkgdir}/usr" install
+ mkdir -p ${pkgdir}/usr/bin
+ install -D -m0755 mkdssp ${pkgdir}/usr/bin
+ install -D -m0755 test_readpdb ${pkgdir}/usr/bin/
install -D -m0644 LICENSE_1_0.txt "$pkgdir/usr/share/licenses/dssp/LICENSE"
}