]> git.immae.eu Git - perso/Immae/Config/AUR.git/blobdiff - PKGBUILD
remove nonstandard arches
[perso/Immae/Config/AUR.git] / PKGBUILD
index 9924c538b3d9d3c8689e143c3da196c87767999c..314d1436e2ee065fb09a3df0c9ecef5546638a64 100644 (file)
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=20151011.f56c58a
 pkgrel=1
 pkgdesc='Simple virtual terminal emulator for X'
 url='http://git.suckless.org/st/'
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'x86_64')
 license=('MIT')
 depends=('libxft')
 makedepends=('ncurses' 'libxext' 'git')
@@ -42,11 +42,11 @@ prepare() {
                if [[ "$file" == "config.h" ]]; then
                        # add config.h if present in source array
                        # Note: this supersedes the above sed to config.def.h
-                       cp "$SRCDEST/$file" .
+                       cp "$srcdir/$file" .
                        continue
                elif [[ "$file" == *.diff ]]; then
                        # add all patches present in source array
-                       patch -Np1 <"$SRCDEST/$file"
+                       patch -Np1 <"$srcdir/$file"
                fi
        done
 }