Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't use use a VCS pkgbuild for a static package

  • Loading branch information...
commit cd29a4d8a3cdcfaa1b7776c921433831d8ed9a63 1 parent d695d68
Greg Sutcliffe authored
Showing with 9 additions and 28 deletions.
  1. +9 −28 foreman-proxy/PKGBUILD
37 foreman-proxy/PKGBUILD
View
@@ -1,46 +1,27 @@
# Maintainer: Greg Sutcliffe <greg.sutcliffe@gmail.com>>
pkgname=foreman-proxy
-pkgver=1.1_0.1rc1
-pkgrel=1
+pkgver=1.1RC1
+pkgrel=2
pkgdesc="Manages DNS, DHCP, TFTP and Puppet though a HTTP Restful API. Used by foreman"
arch=('any')
url="http://theforeman.org"
license=('GPL3')
depends=('ruby-sinatra' 'iputils' 'ruby')
-makedepends=('git')
-provides=('foreman-proxy')
-conflicts=('foreman-proxy')
+conflicts=('foreman-proxy-git')
backup=("etc/foreman-proxy/settings.yml")
options=(emptydirs)
install="foreman-proxy.install"
-source=('foreman-proxy.systemd'
- 'foreman-proxy.tmpfiles.conf')
+source=(https://github.com/theforeman/smart-proxy/archive/${pkgver}.tar.gz
+ foreman-proxy.systemd
+ foreman-proxy.tmpfiles.conf)
noextract=()
-md5sums=('c99762a8f6a0594965f54dcab5cf726a'
+md5sums=('34c832837326825a7eec649de49eb27f'
+ 'c99762a8f6a0594965f54dcab5cf726a'
'f6d26c35bf3b9a7c71105e72053785a1')
-_gitroot=https://github.com/theforeman/smart-proxy.git
-_gitname=foreman-proxy
-_gitbranch=c60b9b257893aca558c3c0bc628be06c86d1a434
-
-build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin && git reset "$_gitbranch" --hard
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
-
-}
-
package() {
- cd "$srcdir/$_gitname"
+ cd $srcdir/smart-proxy-${pkgver}
# Main codebase
install -d -m0755 $pkgdir/usr/share/foreman-proxy/
Please sign in to comment.
Something went wrong with that request. Please try again.