Skip to content

Instantly share code, notes, and snippets.

@flying-sheep

flying-sheep/PKGBUILD

Last active Apr 9, 2019
Embed
What would you like to do?
Newest primer3 version 2.4.0
# 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
You can’t perform that action at this time.