From The Compiler, 9 Months ago, written in Plain Text.
Embed
  1. pkgname=python-plaster
  2. _pkgname=plaster
  3. pkgver=0.5
  4. pkgrel=1
  5. pkgdesc="A loader interface around multiple config file formats."
  6. arch=('any')
  7. url="https://github.com/Pylons/plaster"
  8. license=('MIT')
  9. depends=('python' 'python-setuptools')
  10. source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
  11. sha256sums=('2a028938dcbf41033c5d377363781b2528151b0159201587c41e7a4c74bc887c')
  12.  
  13. build(){
  14.   cd ${srcdir}/${_pkgname}-${pkgver}
  15.   python setup.py build
  16. }
  17.  
  18. package() {
  19.   cd ${srcdir}/${_pkgname}-${pkgver}
  20.   python setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
  21. }