summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDustin Falgout2016-01-10 22:06:08 -0600
committerDustin Falgout2016-01-10 22:06:08 -0600
commit0ffedacfe7165667d0f581ba31b2a0f57407e093 (patch)
tree137ff96c27badff46d4aae386d815b1ba5bc2e9d
downloadaur-0ffedacfe7165667d0f581ba31b2a0f57407e093.tar.gz
initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD29
-rw-r--r--obs-service-tar_scm.install12
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..507810014de
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Mon Jan 11 04:05:55 UTC 2016
+pkgbase = obs-service-tar_scm
+ pkgdesc = Source Service for the OpenSUSE Build Service (OBS)
+ pkgver = 0.5.3.r213
+ pkgrel = 1
+ url = https://github.com/openSUSE/obs-service-tar_scm
+ install = obs-service-tar_scm.install
+ arch = any
+ groups = obs
+ license = GPL3
+ depends = python2
+ depends = obs-build
+ depends = git
+ optdepends = subversion: svn repo support.
+ optdepends = mercurial: hg repo support.
+ optdepends = bzr: bzr repo support.
+ backup = etc/obs/services/tar_scm
+ source = obs-service-tar_scm::git+https://github.com/openSUSE/obs-service-tar_scm.git
+ md5sums = SKIP
+
+pkgname = obs-service-tar_scm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbe9c16ea66
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Dustin Falgout <dustin@antergos.com>
+
+pkgname=obs-service-tar_scm
+_pkgver=0.5.3
+pkgver=${_pkgver}.r213
+pkgrel=1
+pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
+arch=('any')
+url="https://github.com/openSUSE/obs-service-tar_scm"
+license=('GPL3')
+source=("${pkgname}::git+https://github.com/openSUSE/${pkgname}.git")
+groups=('obs')
+depends=('python2' 'obs-build' 'git')
+optdepends=('subversion: svn repo support.'
+ 'mercurial: hg repo support.'
+ 'bzr: bzr repo support.')
+install=${pkgname}.install
+backup=("etc/obs/services/tar_scm")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "%s.r%s" "${_pkgver}" "$(git rev-list --count HEAD)"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR=${pkgdir} PREFIX=/usr install
+}
diff --git a/obs-service-tar_scm.install b/obs-service-tar_scm.install
new file mode 100644
index 00000000000..a2725bbb6e9
--- /dev/null
+++ b/obs-service-tar_scm.install
@@ -0,0 +1,12 @@
+post_install()
+{
+ echo "Setting greeter to webkit2 in lightdm.conf"
+ sed -i 's|#greeter-session=example-gtk-gnome|greeter-session=lightdm-webkit2-greeter|g' /etc/lightdm/lightdm.conf
+ find /usr/share/lightdm-webkit -type d -exec chmod 755 {} \;
+
+}
+
+post_upgrade()
+{
+ post_install
+}