diff options
author | Sergej Schmidt | 2017-05-04 12:14:03 +0200 |
---|---|---|
committer | Sergej Schmidt | 2017-05-04 12:14:03 +0200 |
commit | e02fe0e5fb68500e978eb16c62c0080f401905a0 (patch) | |
tree | 42aeff3b04a152acdd0009ece57de6b3785dc9cb | |
download | aur-e02fe0e5fb68500e978eb16c62c0080f401905a0.tar.gz |
Initial package creation.
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8b719823058b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-arpreq + pkgdesc = Python C extension to query the Kernel ARP cache for the MAC address of a given IP address. + pkgver = 0.3.2 + pkgrel = 1 + url = https://pypi.python.org/pypi/arpreq/ + arch = any + license = MIT + makedepends = python-setuptools + depends = python + provides = python-arpreq + options = !emptydirs + source = arpreq-0.3.2.tar.gz::https://github.com/sebschrader/python-arpreq/archive/v0.3.2.tar.gz + sha256sums = 6cbf082d1f1d3952b72fb907c0e577b920c1101b54a8a4bd34c32771851f012f + +pkgname = python-arpreq + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5acc462f538 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Sergej "winnie" Schmidt <sergej@hex.house> + +_py="python" +_eggname="arpreq" +pkgname=${_py}-${_eggname} +pkgver=0.3.2 +pkgrel=1 +pkgdesc="Python C extension to query the Kernel ARP cache for the MAC address of a given IP address." +arch=('any') +url="https://pypi.python.org/pypi/arpreq/" +license=('MIT') +depends=("${_py}") +makedepends=("${_py}-setuptools") +options=(!emptydirs) +source=(${_eggname}-${pkgver}.tar.gz::https://github.com/sebschrader/python-arpreq/archive/v${pkgver}.tar.gz) +provides=('python-arpreq') +sha256sums=('6cbf082d1f1d3952b72fb907c0e577b920c1101b54a8a4bd34c32771851f012f') + +package() { + cd "${srcdir}/${_py}-${_eggname}-${pkgver}" + ${_py} setup.py install --root="$pkgdir" || return 1 + install -Dpm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + msg "Install successful." +} |