diff options
author | Claudia | 2018-03-22 19:58:49 +0100 |
---|---|---|
committer | Claudia | 2018-03-22 19:58:49 +0100 |
commit | e7e58e122f8ca848d664d4eba93a9f1b84c9311a (patch) | |
tree | b3100a8f5d26996fb795311f9d423b88fff06256 /PKGBUILD | |
download | aur-calm-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6887d2e7219d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de> +# Contributor: + +pkgname=calm-git +pkgver=r335.abb1c0d +pkgrel=1 +pkgdesc='Cygwin package server toolkit' +arch=('any') +url='https://cygwin.com/package-server.html' +license=('custom:MIT') +depends=('python') +makedepends=('python') + +source=( + "${pkgname}::git+https://sourceware.org/git/cygwin-apps/calm.git" +) + +sha512sums=( + 'SKIP' +) + +pkgver() { + printf "r%s.%s" \ + "$(git -C "${pkgname}" rev-list --count HEAD)" \ + "$(git -C "${pkgname}" rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}/${pkgname}" + python setup.py install --root="${pkgdir}/" --optimize=1 +} |