summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan2015-05-13 13:47:29 +0800
committerTing-Wei Lan2015-05-13 13:47:29 +0800
commitc8721c08cdf302c194ed7ef5a443a35519f7055c (patch)
treefc45fe8b34ff2e777b0ae66b3dfa7b86075cfca7
parentd2239dae6555d9f0c4e29d09b5210efac288ce2c (diff)
downloadaur-c8721c08cdf302c194ed7ef5a443a35519f7055c.tar.gz
yaehmop: Fix path for patches
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b098352ce2f..efec08bc0e02 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = yaehmop
pkgdesc = Yet Another extended Huckel Molecular Orbital Package (YAeHMOP)
pkgver = 3.1.0b2
- pkgrel = 3
+ pkgrel = 4
url = http://yaehmop.sourceforge.net/
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 9ce2eb533577..818a264fcc52 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=yaehmop
pkgver=3.1.0b2
-pkgrel=3
+pkgrel=4
pkgdesc="Yet Another extended Huckel Molecular Orbital Package (YAeHMOP)"
arch=('x86_64' 'i686')
url="http://yaehmop.sourceforge.net/"
@@ -35,9 +35,9 @@ build() {
rm -f tightbind/utils/fit_dos
rm -f tightbind/utils/fit_dos.o
rm -f tightbind/utils/genutil.o
- patch -p1 < ../../0001-Fix-build-problems.patch
- patch -p1 < ../../0002-Fix-implicit-declaration.patch
- patch -p1 < ../../0003-Fix-hard-coded-data-path.patch
+ patch -p1 < "${srcdir}/0001-Fix-build-problems.patch"
+ patch -p1 < "${srcdir}/0002-Fix-implicit-declaration.patch"
+ patch -p1 < "${srcdir}/0003-Fix-hard-coded-data-path.patch"
cd tightbind
make -f makefile.linux install
cd ../viewkel