diff options
author | Ryan Farley | 2016-06-23 01:36:15 -0500 |
---|---|---|
committer | Ryan Farley | 2016-06-23 01:36:15 -0500 |
commit | a1ee3b26d74925c5c117ad810962d0bce936c733 (patch) | |
tree | 96ca8d7bc8503d31a441a683f3174b1ab9f8d245 /PKGBUILD | |
download | aur-a1ee3b26d74925c5c117ad810962d0bce936c733.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..75c34d77356 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Ryan Farley <ryan.farleyl@gmx.com> +pkgname=moshy-git # '-bzr', '-git', '-hg' or '-svn' +pkgver=r8.df0b2bc +pkgrel=1 +pkgdesc="A simple Mosh wrapper with profile settings" +arch=('any') +url="https://github.com/kiniou/moshy" +license=('GPL') +depends=('python-docopt') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=('git+https://github.com/kiniou/moshy.git') +md5sums=('SKIP') + +pkgver() { + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname%-git}" + python setup.py install --root="$pkgdir/" --optimize=1 +} |