blob: c406f696b2e4ccfa3abea52e2709ed55bdd6ba67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: James Spencer <james.s.spencer@gmail.com>
pkgname=opium
pkgver=4.1
pkgrel=1
pkgdesc="pseudopotential generator for density functional theory"
arch=('i686' 'x86_64')
url="http://opium.sourceforge.net/"
license=('GPL')
makedepends=('gcc' 'gcc-fortran')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-v$pkgver/$pkgname-v$pkgver-src.tgz)
sha256sums=('e5a102b52601ad037d8a7b3e2dbd295baad23b8c1e4908b9014df2e432c23c60')
build() {
cd "$srcdir/$pkgname-v$pkgver-src"
./configure
sed -i -e 's/-r8//' makevars
make
}
package() {
cd "$srcdir/$pkgname-v$pkgver-src"
install -Dm755 "$srcdir/$pkgname-v$pkgver-src/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|