summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Kluger2020-02-03 10:38:32 -0500
committerAndy Kluger2020-02-03 10:40:52 -0500
commit89de59cfad75d292df86df182f480d2ed0be6da8 (patch)
treed4a3f887f95da916227ac5ce997750f0184950f3
parent4d47c54547d4e7abfdf201fb7cc0c2b41d03c304 (diff)
downloadaur-ttf-iosevka-termlig-custom-git.tar.gz
don't overwrite the example build config anymore
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD14
-rw-r--r--private-build-plans.toml.example (renamed from private-build-plans.toml)0
4 files changed, 17 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af343801e782..dd780a87adcf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ttf-iosevka-termlig-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-termlig-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-termlig-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
diff --git a/PKGBUILD b/PKGBUILD
index 9a447e065575..9de9b2a63230 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andy Kluger <AndyKluger@gmail.com>
# Contributor: Markus Weimar <mail@markusweimar.de>
pkgname=ttf-iosevka-termlig-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