summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Kluger2017-05-12 13:10:01 -0400
committerAndy Kluger2017-05-12 13:10:01 -0400
commitbdc0d6a81f64eee0f5c777cb1687233c1e98f8d6 (patch)
tree311f5c60cd221ca8f079f1365c77d9777025fc5a
parentded6c0e0bec5ec9b6b138ed97c8b6d6d6ec5ac1e (diff)
downloadaur-bdc0d6a81f64eee0f5c777cb1687233c1e98f8d6.tar.gz
now respects IOSEVKA_DESIGN if set, automatically adding 'term' if not present
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7219476284b..e4713a1c9dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,9 +20,11 @@ pkgver() {
}
build() {
+ : ${IOSEVKA_DESIGN='v-l-tailed v-i-hooky v-g-opendoublestorey v-m-shortleg v-zero-dotted'}
+ [[ $IOSEVKA_DESIGN = *term* ]] && design="$IOSEVKA_DESIGN" || design="term $IOSEVKA_DESIGN"
cd Iosevka
npm install
- make custom-config design='term v-l-tailed v-i-hooky v-g-opendoublestorey v-m-shortleg v-zero-dotted'
+ make custom-config design="$design"
make custom
}