summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51b5cddef8554c397dfb28177ee0857f93b24340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F

pkgname=python-dg-git
pkgver=da8831f
pkgrel=1
pkgdesc="A programming language running on CPython VM"
arch=('any')
url="https://github.com/pyos/dg/"
license=(MIT)
depends=('python')
makedepends=('python-setuptools')
provides=('python-dg')
source=('git+https://github.com/pyos/dg/') 
sha1sums=('SKIP')
_gitname=dg

pkgver() {
  cd $_gitname
  echo $(git describe --always | sed 's/-/./g')
}

package() {
  cd "${srcdir}/${_gitname}"
  python setup.py install --root="$pkgdir" --optimize=1
}

# vim:set ts=2 sw=2 et: