summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Hardy2016-04-11 21:25:37 +1000
committerJoshua Hardy2016-04-11 21:25:37 +1000
commitda46ed4584c8cbd66d849591caa4ddc0de47a29c (patch)
tree8a84257ed415d6211cb500a06334ce810d6892fe /PKGBUILD
parent2df2d2a3d0d8125ca1df267384b76ebc92090c6e (diff)
downloadaur-da46ed4584c8cbd66d849591caa4ddc0de47a29c.tar.gz
fixed python file headers
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e51fdfd1823..50f466882ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,12 +13,22 @@ url="http://blake.bcm.edu/emanwiki/EMAN2"
license=('GPL')
depends=()
source=("http://ncmi.bcm.edu/ncmi/software/counter_222/software_133/manage_addProduct/NCMI/attendee_factory/eman$pkgver.linux64.tar.gz"
-'eman2.sh')
-md5sums=('2e21b310c957fc3b21f8c6b551b60fdb' 'SKIP')
+'eman2.sh' 'eman2-installer')
+md5sums=('2e21b310c957fc3b21f8c6b551b60fdb' 'SKIP' 'SKIP')
options=(!strip)
+prepare () {
+ cd "$srcdir/EMAN2"
+ rm eman2-installer
+ cp ../eman2-installer .
+}
build() {
cd "$srcdir/EMAN2"
+# sed -e 's,export EMAN2DIR=`pwd`,export EMAN2DIR=/opt/eman2,' $srcdir/EMAN2/eman2-installer >
+#$srcdir/EMAN2/eman2-installer.tmp
+# mv $srcdir/EMAN2/eman2-installer.tmp $srcdir/EMAN2/eman2-installer
+# chmod +x eman2-installer
+# EMAN2DIR=pwd
./eman2-installer
}