Last active
April 9, 2019 16:14
Star
You must be signed in to star a gist
Newest primer3 version 2.4.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Michael Schubert <mschu.dev at gmail> | |
# Contributor: Abhishek Dasgupta <abhidg@gmail.com> | |
pkgname=primer3 | |
pkgver=2.4.0 | |
pkgrel=1 | |
pkgdesc="Tool to design flanking oligo nucleotides for DNA amplification" | |
arch=('i686' 'x86_64') | |
license=('GPL2') | |
depends=('gcc-libs') | |
url="http://primer3.sourceforge.net" | |
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname-org/$pkgname/archive/v$pkgver.tar.gz") | |
md5sums=('aed6546bdfb60652cd7eba8d51eae8cc') | |
build() { | |
cd "$srcdir"/$pkgname-$pkgver/src | |
make CFLAGS=-fpermissive | |
} | |
check() { | |
cd "$srcdir"/$pkgname-$pkgver/src | |
make test | |
} | |
package() { | |
cd "$srcdir"/$pkgname-$pkgver/src | |
for EXEC in long_seq_tm_test ntdpal ntthal oligotm primer3_core; do | |
install -Dm755 $EXEC "$pkgdir"/usr/bin/$EXEC | |
done | |
install -dm755 "$pkgdir"/usr/share | |
cp -dpr --no-preserve=ownership primer3_config "$pkgdir"/usr/share/primer3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment