summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2018-02-13 19:28:40 +0100
committerlarchunix2018-02-13 19:28:40 +0100
commit4754f6532666394d592655bf0463e729099fee04 (patch)
tree26e7cb929b9a84a44b8b13cac58e423ca332f736
downloadaur-4754f6532666394d592655bf0463e729099fee04.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD30
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..18e823300d0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = mock-core-configs
+ pkgdesc = Mock core config files basic chroots
+ pkgver = 28.2.1
+ pkgrel = 1
+ url = https://github.com/rpm-software-management/mock
+ arch = any
+ license = GPL2
+ depends = distribution-gpg-keys
+ source = https://github.com/rpm-software-management/mock/archive/mock-core-configs-28.2-1.tar.gz
+ md5sums = 815f7dbccc0f4f0017ce9b05dd348c09
+
+pkgname = mock-core-configs
+
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: