summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlad Wenter2017-09-10 21:29:12 +0200
committerAlad Wenter2017-09-10 21:29:12 +0200
commit34d415c57fee59711d8c6f5cedaf301925fc4f41 (patch)
treed1d5bb6b3bbf8cd6aadcdc1e4237fb9b7624fff2 /PKGBUILD
parentc47532553822e8979825b1c3dab820782e65dd81 (diff)
downloadaur-mc-git.tar.gz
mc-git: fix autogen.sh
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index be46377caa4..9b47661370f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,11 +47,15 @@ pkgver() {
git describe --long | sed -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g'
}
+prepare() {
+ cd mc
+ ./autogen.sh
+}
+
build() {
export PYTHON=/usr/bin/python2
cd mc
- ./autogen.sh
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
@@ -59,13 +63,12 @@ build() {
--enable-vfs-smb \
--with-x \
--enable-aspell
-
make
}
package() {
cd mc
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 ft=sh et: