summaryrefslogtreecommitdiff
path: root/pcr/python2-daemon/PKGBUILD
blob: 382af4ed5e6097ae4e472dd76e2b47c0ec285bee (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
# Contributor (Arch): Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=python2-daemon
_libname=${pkgname/python2-/python-}
pkgver=2.0.5
pkgrel=1
pkgdesc="Library to implement a well-behaved Unix daemon process"
license=("PSF")
url="http://pypi.python.org/pypi/python-daemon"
depends=('python2-lockfile')
makedepends=('python2-setuptools' 'python2-docutils')
source=(http://pypi.python.org/packages/source/p/python-daemon/python-daemon-$pkgver.tar.gz)
arch=('any')

build() {
	cd "$srcdir/$_libname-$pkgver"
	python2 setup.py build
}

package() {
	cd "$srcdir/$_libname-$pkgver"
	python2 setup.py install --skip-build -O1 --root="$pkgdir"
}

sha256sums=('afde4fa433d94d007206ee31a0941d55b5eb232a5422b670aad628547b46bf68')