[arch-commits] Commit in scapy/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Jan 15 21:23:38 UTC 2016
Date: Friday, January 15, 2016 @ 22:23:38
Author: anthraxx
Revision: 156744
upgpkg: scapy 2.3.1-1
Modified:
scapy/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-15 19:58:16 UTC (rev 156743)
+++ PKGBUILD 2016-01-15 21:23:38 UTC (rev 156744)
@@ -1,6 +1,6 @@
# $Id$
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Ebubekir KARUL <ebubekirkarul at yandex.com>
# Contributor: s1gma,shirokuro
@@ -18,8 +18,8 @@
checkdepends=('python2-crypto' 'python2-pyx' 'python2-gnuplot' 'graphviz' 'sox')
arch=('any')
license=('GPL')
-source=(https://bitbucket.org/secdev/scapy/downloads/${pkgname}-${pkgver}.zip)
-sha256sums=('8972c02e39a826a10c02c2bdd5025f7251dce9589c57befd9bb55c65f02e4934')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/secdev/scapy/archive/v${pkgver}.tar.gz)
+sha256sums=('835e29b1098c879c05daced52591ea809d04598ce63761a7db8a9caca8bfd243')
prepare() {
cd ${pkgname}-${pkgver}
@@ -43,9 +43,8 @@
package() {
cd ${pkgname}-${pkgver}
- python2 setup.py install -O1 --skip-build --prefix="${pkgdir}/usr"
- mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 doc/scapy/*.rst "${pkgdir}/usr/share/doc/${pkgname}/"
+ python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+ install -Dm 644 doc/scapy/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list