summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28838439627c26afa3d479bc58591c7f2066024d (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
# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=DTLSSocket
pkgname=python-dtlssocket
pkgver=0.1.12
pkgrel=1
pkgdesc='Cython wrapper for tinydtls with a Socket like interface'
arch=('any')
url='https://git.fslab.de/jkonra2m/tinydtls-cython'
license=('EPL')
depends=('python' 'cython')
makedepends=('python-setuptools')
optdepends=()
source=( "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
md5sums=('82a16a8975ad4edf1ffb792317265d0d')

package() {
	cd "$srcdir/$_name-$pkgver"

	install -D -m644 "LICENSE" \
		             "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

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