summaryrefslogtreecommitdiff
path: root/mtx-svn/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-09 15:54:13 +0200
committerErich Eckner <git@eckner.net>2019-10-09 15:54:13 +0200
commit6854036831aa94fd26dd9ee22b8d5f7a810df1da (patch)
treeaa49213fd6b9005fd59795b33b93ac352c84391c /mtx-svn/PKGBUILD
parent8e2cdf29691a1c060d8066a655fe8c3dbc5b56dc (diff)
downloadarchlinuxewe-6854036831aa94fd26dd9ee22b8d5f7a810df1da.tar.xz
mtx-svn: fix build on aarch64
Diffstat (limited to 'mtx-svn/PKGBUILD')
-rw-r--r--mtx-svn/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/mtx-svn/PKGBUILD b/mtx-svn/PKGBUILD
index 74407b287..3f0652181 100644
--- a/mtx-svn/PKGBUILD
+++ b/mtx-svn/PKGBUILD
@@ -15,6 +15,12 @@ makedepends=('subversion')
source=("https://sourceforge.net/code-snapshots/svn/m/mt/mtx/code/${_distdir}.zip")
sha512sums=('cd7e1f1f003acf95e1bb55936180ba6da47d146ce6bd5f87c2ba5ca02779a4e187d1a1e903c36bc6725e6d29e14574cf427933127621d3f441c95fdeb29f9f2f')
+prepare() {
+ sed -i '
+ s@ | armv\*-\*@ | aarch64-*\0@
+ ' "${srcdir}/${_distdir}/config.sub"
+}
+
build() {
cd "${srcdir}/${_distdir}"
./configure --prefix=/usr