summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Kluger2020-02-03 10:38:20 -0500
committerAndy Kluger2020-02-03 10:40:24 -0500
commitf078ef77b0629dcfabb6c661ae2d5d2576776ba1 (patch)
treec3cdffa9dad2f4f21670645b0c48ded4a53e4df5
parentee5678af11e31820495426f83062729ee811895e (diff)
downloadaur-f078ef77b0629dcfabb6c661ae2d5d2576776ba1.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 60a01ff5e90..8ccdce08b71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ttf-iosevka-term-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-term-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-term-custom-git
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..8bcadf27153
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*
+!/PKGBUILD
+!/.SRCINFO
+!/.gitignore
+!/private-build-plans.toml.example
diff --git a/PKGBUILD b/PKGBUILD
index 4c77694556c..d682bb470bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andy Kluger <AndyKluger@gmail.com>
# Contributor: Markus Weimar <mail@markusweimar.de>
pkgname=ttf-iosevka-term-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 bfa075752b7..bfa075752b7 100644
--- a/private-build-plans.toml
+++ b/private-build-plans.toml.example