summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46dd9f418e3475bbf6698009e15cf1e34067d750 (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: kpj <kpjkpjkpjkpjkpjkpj at gmail dot com>

pkgname='python-maybe'
pkgver=0.4.0
pkgrel=1
pkgdesc='See what a program does before deciding whether you really want it to happen.'
arch=('any')
url='https://github.com/p-e-w/maybe'
license=('GPLv3')
depends=('python-blessings' 'python-ptrace')
makedepends=('python' 'python-pip')
source=(https://pypi.python.org/packages/source/m/${pkgname#python-}/${pkgname#python-}-$pkgver.tar.gz)
md5sums=('e757e3d1008484da60d72b9ae427ecf5')

build() {
  cd "$srcdir/${pkgname#python-}-$pkgver"

  msg 'Building...'
  python setup.py build
}

package() {
  cd "$srcdir/${pkgname#python-}-$pkgver"

  msg 'Installing...'
  python setup.py install --root="$pkgdir" --optimize=1
}