mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/genxrdpattern to 1.1-3
This commit is contained in:
parent
08b7031231
commit
cae144a111
1 changed files with 5 additions and 4 deletions
|
@ -5,14 +5,14 @@
|
|||
|
||||
pkgname=genxrdpattern
|
||||
pkgver=1.1
|
||||
pkgrel=2
|
||||
pkgdesc="Uses ObjCryst++ to generate a theoretical XRD pattern"
|
||||
pkgrel=3
|
||||
pkgdesc='Uses ObjCryst++ to generate a theoretical XRD pattern'
|
||||
arch=(x86_64)
|
||||
url="https://github.com/psavery/genXrdPattern"
|
||||
url='https://github.com/psavery/genXrdPattern'
|
||||
license=(GPL)
|
||||
depends=(gcc-libs)
|
||||
makedepends=(cmake)
|
||||
source=($pkgname-$pkgver.tar.gz::"https://github.com/psavery/genXrdPattern/archive/$pkgver-linux.tar.gz"
|
||||
source=(https://github.com/psavery/genXrdPattern/archive/$pkgver-linux/$pkgname-$pkgver.tar.gz
|
||||
https://github.com/psavery/genXrdPattern/releases/download/$pkgver-linux/objcryst.tgz)
|
||||
sha256sums=('9bc01dbf637d6520d8e2f5743bb1b46f8319432af5ce2d2a484a36615c1586d3'
|
||||
'5523eae9937388260b3e491a1a11a443ab00a0961318ec92eee08f9366a0953f')
|
||||
|
@ -22,6 +22,7 @@ prepare() {
|
|||
sed -e 's|-march=native||' -i objcryst/ObjCryst/*.mak # Don't use -march=native
|
||||
sed -e 's|set(CMAKE_EXE_LINKER_FLAGS \"-static\")|set(CMAKE_EXE_LINKER_FLAGS "$ENV{LDFLAGS}")|' \
|
||||
-i genXrdPattern-$pkgver-linux/CMakeLists.txt # Honor system LDFLAGS
|
||||
sed -e 's/indx > 0/*indx > 0/' -i objcryst/newmat/newmat6.cpp
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue