summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlarchunix2019-03-01 14:41:52 +0100
committerlarchunix2019-03-01 14:41:52 +0100
commitf450191cf83695dc676b7905d54587ef31128965 (patch)
tree3fdc24070fdc47b27934a4976b447729bc586450 /PKGBUILD
parent2fa0965ce5453382287c4c24c5f4ea373bc9936a (diff)
downloadaur-f450191cf83695dc676b7905d54587ef31128965.tar.gz
Update to upstream release 30.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 006e26d89ef..7dda2130ec7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mock-core-configs
-pkgver=30.1
+pkgver=30.2
_rpmrel=1
_pkgtag=$pkgname-$pkgver-$_rpmrel
pkgrel=$_rpmrel.1
@@ -9,7 +9,10 @@ arch=('any')
license=('GPL2')
depends=('distribution-gpg-keys>=1.29')
source=("$url/archive/$_pkgtag.tar.gz")
-md5sums=('bf0181a01f4605c4072351d727999579')
+md5sums=('7948f1b6b856f2deda66bc33e9f14f78')
+
+# Uncomment to not package configs for EOLed versions of distributions
+#_without_eol=1
prepare() {
mv "mock-$_pkgtag" "$pkgname-$pkgver"
@@ -22,8 +25,11 @@ package() {
mkdir -p "$pkgdir/"etc/mock
install -Dp -m644 etc/mock/*.cfg "$pkgdir/"etc/mock/
- mkdir -p "$pkgdir/"etc/mock/eol
- install -Dp -m644 etc/mock/eol/*.cfg "$pkgdir/"etc/mock/eol/
+
+ if ((!_without_eol)); then
+ mkdir -p "$pkgdir/"etc/mock/eol
+ install -Dp -m644 etc/mock/eol/*.cfg "$pkgdir/"etc/mock/eol/
+ fi
popd >/dev/null
}