diff options
author | Andy Kluger | 2020-02-02 21:11:09 -0500 |
---|---|---|
committer | Andy Kluger | 2020-02-02 21:11:09 -0500 |
commit | 2dc0a5db7814773a4128202149f81ac8b4dd4f2d (patch) | |
tree | c60c9b561d6b97af02c18077ae83e20784133639 | |
parent | 6a618efadd89744f689ba32af4d5ce70fe9204f4 (diff) | |
download | aur-2dc0a5db7814773a4128202149f81ac8b4dd4f2d.tar.gz |
don't overwrite the example build config anymore
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | private-build-plans.toml.example (renamed from private-build-plans.toml) | 0 |
4 files changed, 17 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = ttf-iosevka-custom-git pkgdesc = A slender monospace sans-serif and slab-serif typeface inspired by Pragmata Pro, M+ and PF DIN Mono. - pkgver = r1379.610abf2f + pkgver = r1397.d5dd611b pkgrel = 1 url = https://be5invis.github.io/Iosevka/ arch = any @@ -13,9 +13,9 @@ pkgbase = ttf-iosevka-custom-git depends = fontconfig depends = xorg-font-utils source = git+https://github.com/be5invis/Iosevka - source = private-build-plans.toml + source = private-build-plans.toml.example sha256sums = SKIP - sha256sums = 15a1d88a9b0841df42fac637048f1623154c11c9ae37a64d7320d1c9019668aa + sha256sums = 930cc4b63f9076e6cb40599ef7d51fc7fdab2eaac6a76bf344eb2d79ee4a950e pkgname = ttf-iosevka-custom-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..8bcadf271532 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!/PKGBUILD +!/.SRCINFO +!/.gitignore +!/private-build-plans.toml.example @@ -1,7 +1,7 @@ # Maintainer: Andy Kluger <AndyKluger@gmail.com> # Contributor: Markus Weimar <mail@markusweimar.de> pkgname=ttf-iosevka-custom-git -pkgver=r1379.610abf2f +pkgver=r1397.d5dd611b pkgrel=1 pkgdesc='A slender monospace sans-serif and slab-serif typeface inspired by Pragmata Pro, M+ and PF DIN Mono.' arch=('any') @@ -13,11 +13,11 @@ conflicts=() provides=() source=( "git+https://github.com/be5invis/Iosevka" - "private-build-plans.toml" + "private-build-plans.toml.example" ) sha256sums=( 'SKIP' - '15a1d88a9b0841df42fac637048f1623154c11c9ae37a64d7320d1c9019668aa' + '930cc4b63f9076e6cb40599ef7d51fc7fdab2eaac6a76bf344eb2d79ee4a950e' ) pkgver() { @@ -27,8 +27,12 @@ pkgver() { prepare() { buildplans="$HOME/.config/iosevka/private-build-plans.toml" - [[ -f "$buildplans" ]] && cp "$buildplans" ../ || echo "$buildplans not found, using pkgbuild creator's" - cp ../private-build-plans.toml Iosevka/ + if [[ -f "$buildplans" ]]; then + cp "$buildplans" Iosevka/ + else + echo ">>> $buildplans not found, using private-build-plans.toml.example" + cp ../private-build-plans.toml.example Iosevka/ + fi } build() { diff --git a/private-build-plans.toml b/private-build-plans.toml.example index bfa075752b7d..bfa075752b7d 100644 --- a/private-build-plans.toml +++ b/private-build-plans.toml.example |