summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: caa72470e88a2ded782cb158637654e6b79b73a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=python-dill
pkgver=0.3.2
pkgrel=2
pkgdesc='Serialize all of python (almost)'
arch=('any')
url='http://pypi.python.org/pypi/dill/'
depends=('python')
makedepends=('python-setuptools')
optdepends=('python-objgraph')
license=('BSD')
source=("https://github.com/uqfoundation/dill/archive/dill-$pkgver.tar.gz")
md5sums=('2675e1a4a00df7886f1e15d5f2125a19')

build() {
    cd "$srcdir/dill-dill-$pkgver"
    python setup.py build
}

package() {
    cd "$srcdir/dill-dill-$pkgver"
    python setup.py install --root="$pkgdir/" --optimize=1
    install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}