summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Levitsky2016-09-08 21:53:08 +0300
committerLev Levitsky2016-09-08 21:53:08 +0300
commit8e60357a9f7cc7d987e018ee5616c4b7e4f28ef7 (patch)
treeaff809cbb45200e25a0952429c4f01e5bc252e75
parent0bcd79ad5dd4b0d22c1eba5fa085c7e9e490f481 (diff)
downloadaur-8e60357a9f7cc7d987e018ee5616c4b7e4f28ef7.tar.gz
Fix for hardening wrapper
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD101
2 files changed, 54 insertions, 51 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3df5e8c6a33..3a71a805dc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Thu Sep 8 18:46:29 UTC 2016
pkgbase = percolator-git
pkgdesc = Software for postprocessing of shotgun proteomics data + format converters + Elude tool
- pkgver = 2.10.r3.ga08619d
+ pkgver = 3.00.r3.g5fda027
pkgrel = 1
url = http://per-colator.com/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index aa8f7b8b6bc..4253a649bb8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Lev Levitsky <levlev@mail.ru>
pkgbase="percolator-git"
pkgname=('percolator-git' 'percolator-converters-git' 'elude-git')
-pkgver=2.10.r3.ga08619d
+pkgver=3.00.r3.g5fda027
pkgrel=1
pkgdesc="Software for postprocessing of shotgun proteomics data + format converters + Elude tool"
url="http://per-colator.com/"
@@ -10,71 +10,72 @@ depends=('xerces-c' 'sqlite')
arch=('x86_64')
makedepends=('git' 'xsd' 'cmake' 'boost' 'zlib')
source=('source::git+https://github.com/percolator/percolator'
- 'percolator.patch')
+ 'percolator.patch')
md5sums=('SKIP'
- '4e1432640f09fa3dc2f3d9894ec380f4')
+ '4e1432640f09fa3dc2f3d9894ec380f4')
pkgver() {
- cd "${srcdir}/source"
+ cd "${srcdir}/source"
git describe --match='rel*' --tags | sed 's/\([^-]*-g\)/r\1/;s/rel-//;s/-/./g'
}
prepare() {
- cd "${srcdir}/source"
- patch -p1 -i "$srcdir/${pkgname%-git}.patch"
- cd "$BUILDDIR"
- for d in "${pkgname[@]}"; do
- mkdir "${d%-git}"
- done
+ cd "${srcdir}/source"
+ patch -p1 -i "$srcdir/${pkgname%-git}.patch"
+ cd "$BUILDDIR"
+ for d in "${pkgname[@]}"; do
+ mkdir "${d%-git}"
+ done
}
build() {
- cd "$BUILDDIR/${pkgname[0]%-git}"
- echo "------------------------"
- echo "Building percolator ..."
- echo "------------------------"
- cmake -DTARGET_ARCH=amd64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DXML_SUPPORT=ON "${srcdir}/source"
- make
- echo "------------------------"
- echo "Building converters ..."
- echo "------------------------"
- cd "../${pkgname[1]%-git}"
- cmake -DTARGET_ARCH=amd64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release "${srcdir}/source/src/converters"
- make
- echo "------------------------"
- echo "Building Elude ..."
- echo "------------------------"
- cd "../${pkgname[2]%-git}"
- cmake -DTARGET_ARCH=amd64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release "${srcdir}/source/src/elude_tool"
- make
+ export HARDENING_PIE=0
+ cd "$BUILDDIR/${pkgname[0]%-git}"
+ echo "------------------------"
+ echo "Building percolator ..."
+ echo "------------------------"
+ cmake -DTARGET_ARCH=amd64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DXML_SUPPORT=ON "${srcdir}/source"
+ make
+ echo "------------------------"
+ echo "Building converters ..."
+ echo "------------------------"
+ cd "../${pkgname[1]%-git}"
+ cmake -DTARGET_ARCH=amd64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release "${srcdir}/source/src/converters"
+ make
+ echo "------------------------"
+ echo "Building Elude ..."
+ echo "------------------------"
+ cd "../${pkgname[2]%-git}"
+ cmake -DTARGET_ARCH=amd64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release "${srcdir}/source/src/elude_tool"
+ make
}
package_percolator-git() {
- pkgdesc="Percolator and qvality, two post processors for shotgun proteomics data."
- name="${pkgname[0]%-git}"
- provides=("$name")
- conflicts=("$name")
-
- cd "$BUILDDIR/$name"
- make DESTDIR="$pkgdir/" install
+ pkgdesc="Percolator and qvality, two post processors for shotgun proteomics data."
+ name="${pkgname[0]%-git}"
+ provides=("$name")
+ conflicts=("$name")
+
+ cd "$BUILDDIR/$name"
+ make DESTDIR="$pkgdir/" install
}
package_percolator-converters-git() {
- pkgdesc="Parsers of different database search engines to percolator input format."
- name="${pkgname[1]%-git}"
- provides=("$name")
- conflicts=("$name")
-
- cd "$BUILDDIR/$name"
- make DESTDIR="$pkgdir/" install
+ pkgdesc="Parsers of different database search engines to percolator input format."
+ name="${pkgname[1]%-git}"
+ provides=("$name")
+ conflicts=("$name")
+
+ cd "$BUILDDIR/$name"
+ make DESTDIR="$pkgdir/" install
}
package_elude-git() {
- pkgdesc="Software package for prediction of retention times in mass spectorometry experiments."
- name="${pkgname[2]%-git}"
- provides=("$name")
- conflicts=("$name")
-
- cd "$BUILDDIR/$name"
- make DESTDIR="$pkgdir/" install
-} \ No newline at end of file
+ pkgdesc="Software package for prediction of retention times in mass spectorometry experiments."
+ name="${pkgname[2]%-git}"
+ provides=("$name")
+ conflicts=("$name")
+
+ cd "$BUILDDIR/$name"
+ make DESTDIR="$pkgdir/" install
+}