Skip to content

Instantly share code, notes, and snippets.

@GermainZ
Created July 17, 2013 19:20
Show Gist options
  • Save GermainZ/6023592 to your computer and use it in GitHub Desktop.
Save GermainZ/6023592 to your computer and use it in GitHub Desktop.
pkgname=devhost-git
pkgver=27.4ebe75f
pkgrel=1
pkgdesc="Upload and manage files on http://d-h.st (Dev-Host)"
arch=('any')
url="https://github.com/GermainZ/dev-host-cl.git"
license=('GPL3')
depends=('python' 'python-requests')
makedepends=('git')
provides=('devhost')
source=("devhost::git+https://github.com/GermainZ/dev-host-cl.git")
md5sums=('SKIP')
pkgver() {
cd devhost
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd devhost
install -Dm755 "devhost.py" "${pkgdir}/usr/bin/devhost"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment