summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlarchunix2018-02-13 19:28:40 +0100
committerlarchunix2018-02-13 19:28:40 +0100
commit4754f6532666394d592655bf0463e729099fee04 (patch)
tree26e7cb929b9a84a44b8b13cac58e423ca332f736 /PKGBUILD
downloadaur-4754f6532666394d592655bf0463e729099fee04.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2a59d3f743
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=mock-core-configs
+_pkgver=28.2
+_rpmrel=1
+_pkgtag=$pkgname-$_pkgver-$_rpmrel
+pkgver=$_pkgver.$_rpmrel
+pkgrel=1
+pkgdesc="Mock core config files basic chroots"
+url="https://github.com/rpm-software-management/mock"
+arch=('any')
+license=('GPL2')
+depends=('distribution-gpg-keys')
+source=("$url/archive/$_pkgtag.tar.gz")
+md5sums=('815f7dbccc0f4f0017ce9b05dd348c09')
+
+prepare() {
+ mv "mock-$_pkgtag" "$pkgname-$pkgver"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ pushd mock-core-configs >/dev/null
+
+ mkdir -p "$pkgdir/"etc/mock
+ install -Dp -m644 etc/mock/*.cfg "$pkgdir/"etc/mock/
+
+ popd >/dev/null
+}
+
+# vim: set ft=sh ts=4 sw=4 noet: