moved to AUR4 and submodule
This commit is contained in:
parent
f7ed0c5d4f
commit
075426504d
26 changed files with 62 additions and 421 deletions
50
.gitmodules
vendored
50
.gitmodules
vendored
|
@ -54,3 +54,53 @@
|
|||
path = pkgbuild/openshot-bzr
|
||||
url = https://aur@aur4.archlinux.org/openshot-bzr.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/openshot-bzr.git
|
||||
[submodule "pkgbuild/perl-config-properties"]
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-config-properties.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-config-properties.git
|
||||
path = pkgbuild/perl-config-properties
|
||||
url = https://aur@aur4.archlinux.org/perl-config-properties.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-config-properties.git
|
||||
[submodule "pkgbuild/perl-dbd-csv"]
|
||||
path = pkgbuild/perl-dbd-csv
|
||||
url = https://aur@aur4.archlinux.org/perl-dbd-csv.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-dbd-csv.git
|
||||
[submodule "pkgbuild/perl-kwalify"]
|
||||
path = pkgbuild/perl-kwalify
|
||||
url = https://aur@aur4.archlinux.org/perl-kwalify.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-kwalify.git
|
||||
[submodule "pkgbuild/perl-net-ip-xs"]
|
||||
path = pkgbuild/perl-net-ip-xs
|
||||
url = https://aur@aur4.archlinux.org/perl-net-ip-xs.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-net-ip-xs.git
|
||||
[submodule "pkgbuild/perl-rpsl-parser"]
|
||||
path = pkgbuild/perl-rpsl-parser
|
||||
url = https://aur@aur4.archlinux.org/perl-rpsl-parser.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-rpsl-parser.git
|
||||
[submodule "pkgbuild/perl-rrd-editor"]
|
||||
path = pkgbuild/perl-rrd-editor
|
||||
url = https://aur@aur4.archlinux.org/perl-rrd-editor.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-rrd-editor.git
|
||||
[submodule "pkgbuild/perl-servicenow-soap"]
|
||||
path = pkgbuild/perl-servicenow-soap
|
||||
url = https://aur@aur4.archlinux.org/perl-servicenow-soap.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-servicenow-soap.git
|
||||
[submodule "pkgbuild/perl-sql-statement"]
|
||||
path = pkgbuild/perl-sql-statement
|
||||
url = https://aur@aur4.archlinux.org/perl-sql-statement.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-sql-statement.git
|
||||
[submodule "pkgbuild/perl-tie-hash-sorted"]
|
||||
path = pkgbuild/perl-tie-hash-sorted
|
||||
url = https://aur@aur4.archlinux.org/perl-tie-hash-sorted.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-tie-hash-sorted.git
|
||||
[submodule "pkgbuild/python2-requests-git"]
|
||||
path = pkgbuild/python2-requests-git
|
||||
url = https://aur@aur4.archlinux.org/python2-requests-git.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/python2-requests-git.git
|
||||
[submodule "pkgbuild/rxp"]
|
||||
path = pkgbuild/rxp
|
||||
url = https://aur@aur4.archlinux.org/rxp.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/rxp.git
|
||||
[submodule "pkgbuild/snmpsim"]
|
||||
path = pkgbuild/snmpsim
|
||||
url = https://aur@aur4.archlinux.org/snmpsim.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/snmpsim.git
|
||||
|
|
1
pkgbuild/perl-config-properties
Submodule
1
pkgbuild/perl-config-properties
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit a955b14decb0023d53f81c802eb7f4c12895f31a
|
|
@ -1,29 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
pkgname=perl-config-properties
|
||||
pkgver=1.77
|
||||
pkgrel=1
|
||||
pkgdesc="A near implementation of the java.util.Properties API."
|
||||
arch=(any)
|
||||
url="http://search.cpan.org/~salva/Config-Properties/"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0')
|
||||
options=(!emptydirs)
|
||||
source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Config-Properties-$pkgver.tar.gz)
|
||||
md5sums=('ff3a93d8ba9de61a1df0e26274a34f82')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/Config-Properties-$pkgver"
|
||||
|
||||
# install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/Config-Properties-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-dbd-csv
Submodule
1
pkgbuild/perl-dbd-csv
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6776dc4e9f815ffd817829843634d68266aa3312
|
|
@ -1,35 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=HMBRAND
|
||||
_perlmod=DBD-CSV
|
||||
pkgname=perl-dbd-csv
|
||||
pkgver=0.48
|
||||
pkgrel=1
|
||||
pkgdesc="DBI driver for CSV files"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/~$_author/$_perlmod/"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0'
|
||||
'perl-dbi>=1.628'
|
||||
'perl-text-csv-xs>=1.01'
|
||||
'perl-sql-statement>=1.405'
|
||||
)
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/H/HM/$_author/$_perlmod-$pkgver.tgz)
|
||||
md5sums=('11391a868171dfe493f0a907d8c33596')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-kwalify
Submodule
1
pkgbuild/perl-kwalify
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit fb525369294a3534dfd3dddccbd2c65fae1dbb3f
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=SREZIC
|
||||
_perlmod=Kwalify
|
||||
pkgname=perl-kwalify
|
||||
pkgver=1.22
|
||||
pkgrel=1
|
||||
pkgdesc="Kwalify schema for data structures"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0')
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=('7a2e7ae407493e597108aa1dbfe0226b')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-net-ip-xs
Submodule
1
pkgbuild/perl-net-ip-xs
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5bf5166410462787b3aba9434939bac8dcffa43a
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=TOMHRR
|
||||
_perlmod=Net-IP-XS
|
||||
pkgname=perl-net-ip-xs
|
||||
pkgver=0.15
|
||||
pkgrel=1
|
||||
pkgdesc="XS implementation of Net::IP"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://metacpan.org/release/$_perlmod"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0' 'perl-tie-simple' 'perl-math-bigint' 'perl-ip-country' 'perl-io-capture')
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=('c54615bcfe14306b8e125529f93baefd')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-rpsl-parser
Submodule
1
pkgbuild/perl-rpsl-parser
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit a0f5a23153a3df8511cd2a970e0f3f44c27a8d1e
|
|
@ -1,28 +0,0 @@
|
|||
# Contributor: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=LMC
|
||||
_perlmod=RPSL-Parser
|
||||
pkgname=perl-rpsl-parser
|
||||
pkgver=0.04000
|
||||
pkgrel=1
|
||||
pkgdesc="Router Policy Specification Language (RFC2622) Parser"
|
||||
arch=(any)
|
||||
url="http://search.cpan.org/~lmc/RPSL-Parser/"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0', 'perl-class-accessor>=0.31')
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=(f4344b0258b7d55dd5e0923a1fcda33d)
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
perl Build.PL installdirs=vendor destdir="$pkgdir/"
|
||||
perl Build
|
||||
|
||||
}
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
perl Build install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-rrd-editor
Submodule
1
pkgbuild/perl-rrd-editor
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit a626d774ecb73c5a3bd8357a0520b07613c71e4d
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=DOUGLEITH
|
||||
_perlmod=RRD-Editor
|
||||
pkgname=perl-rrd-editor
|
||||
pkgver=0.18
|
||||
pkgrel=1
|
||||
pkgdesc="Portable, standalone (no need for RRDs.pm) tool to create and edit RRD files"
|
||||
arch=('any')
|
||||
url="https://metacpan.org/release/$_perlmod"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0')
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=('48c7cf8567f72316bde7df655d9fd473')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-servicenow-soap
Submodule
1
pkgbuild/perl-servicenow-soap
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 7b70ea9c7838349d959c27877125b39da534fc89
|
|
@ -1,38 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=GFLEWIS
|
||||
_perlmod=ServiceNow-SOAP
|
||||
pkgname=perl-servicenow-soap
|
||||
pkgver=0.11
|
||||
pkgrel=1
|
||||
pkgdesc="A better Perl API for ServiceNow "
|
||||
arch=('any')
|
||||
url="https://metacpan.org/release/$_perlmod"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=(
|
||||
'perl>=5.10.0'
|
||||
'perl-http-cookies'
|
||||
'perl-libwww'
|
||||
'perl-mime-types'
|
||||
'perl-soap-lite'
|
||||
'perl-xml-simple'
|
||||
)
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=('dd7c36ab3ee11160500a285f7cd941b1')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-sql-statement
Submodule
1
pkgbuild/perl-sql-statement
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e8e593b53d28af3b907b8fd67dfb94c21a468523
|
|
@ -1,34 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=REHSACK
|
||||
_perlmod=SQL-Statement
|
||||
pkgname=perl-sql-statement
|
||||
pkgver=1.405
|
||||
pkgrel=1
|
||||
pkgdesc="SQL parsing and processing engine"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0'
|
||||
'perl-clone>=0.30'
|
||||
'perl-params-util>=1.00'
|
||||
)
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/R/RE/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=('22231c2e28996b5bfea9925d49c11de1')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/perl-tie-hash-sorted
Submodule
1
pkgbuild/perl-tie-hash-sorted
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit b98d1fcbb4dcac9c3a2b56f81c82af0032a302b5
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_author=JGATCOMB
|
||||
_perlmod=Tie-Hash-Sorted
|
||||
pkgname=perl-tie-hash-sorted
|
||||
pkgver=0.10
|
||||
pkgrel=1
|
||||
pkgdesc="Presents hashes in sorted order"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0')
|
||||
options=(!emptydirs)
|
||||
source=(http://cpan.perl.org/modules/by-authors/id/J/JG/$_author/$_perlmod-$pkgver.tar.gz)
|
||||
md5sums=('56dbe4aebd74937096acc963ef5c3872')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
|
||||
# Install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
make install DESTDIR="$pkgdir/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
1
pkgbuild/python2-requests-git
Submodule
1
pkgbuild/python2-requests-git
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 3de0e75d6900d0c92dcec8c9a89e16ca52055294
|
|
@ -1,58 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
pkgname=python2-requests-git
|
||||
pkgver=v2.3.0.41.gfcb735f
|
||||
pkgrel=1
|
||||
_libname=${pkgname/python2-/}
|
||||
pkgdesc="Python HTTP for Humans."
|
||||
url="http://python-requests.org"
|
||||
conflicts=('python2-requests')
|
||||
makedepends=('git' 'python2-distribute')
|
||||
optdepends=('python2-certifi: SSL support'
|
||||
'python2-grequests: asynchronous requests with gevent'
|
||||
'python2-simplejson')
|
||||
depends=('python2')
|
||||
provides=('python2-requests')
|
||||
license=('custom: ISC')
|
||||
arch=('any')
|
||||
|
||||
source=('requests::git+https://github.com/kennethreitz/requests.git'
|
||||
certs.patch
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'482fc40ba146d2200771a690b3bedf6eddc9c3224d6f7b5ba529124039b07246'
|
||||
)
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir"/requests
|
||||
git describe --tags | sed 's|-|.|g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"/requests
|
||||
|
||||
patch -p0 -i "$srcdir/certs.patch"
|
||||
find -type f -exec sed -i '1 s|python$|python2|' {} +
|
||||
sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in
|
||||
rm -f requests/cacert.pem
|
||||
|
||||
}
|
||||
|
||||
build(){
|
||||
cd "$srcdir"/requests
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir"/requests
|
||||
test -f "$(python2 -m requests.certs)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/requests
|
||||
python2 setup.py install --root="$pkgdir"
|
||||
install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -1,17 +0,0 @@
|
|||
--- requests/certs.py 2013-02-06 22:16:59.811389080 +0100
|
||||
+++ requests/certs.py.diff 2013-02-06 22:20:07.051490687 +0100
|
||||
@@ -12,13 +12,11 @@
|
||||
packaged CA bundle.
|
||||
"""
|
||||
|
||||
-import os.path
|
||||
-
|
||||
|
||||
def where():
|
||||
"""Return the preferred certificate bundle."""
|
||||
# vendored bundle inside Requests
|
||||
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
||||
+ return "/etc/ssl/certs/ca-certificates.crt"
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(where())
|
1
pkgbuild/rxp
Submodule
1
pkgbuild/rxp
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5d67db4cd44c79a7447ccafc0c51a089658484ca
|
|
@ -1,25 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
# Contributor: Andy Hauser <andy-aur@splashground.de>
|
||||
|
||||
pkgname=rxp
|
||||
pkgver=1.5.0
|
||||
pkgrel=3
|
||||
pkgdesc="a validating XML parser written in C"
|
||||
url="http://www.cogsci.ed.ac.uk/~richard/rxp.html"
|
||||
license=("GPL")
|
||||
arch=(i686 x86_64)
|
||||
options=(!libtool)
|
||||
source=("http://ftp.de.debian.org/debian/pool/main/r/rxp/${pkgname}_${pkgver}.orig.tar.gz")
|
||||
md5sums=('5f6c4cd741bbeaf77b5a5918cb26df2f')
|
||||
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/$pkgname-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
cd "${srcdir}/$pkgname-$pkgver"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
1
pkgbuild/snmpsim
Submodule
1
pkgbuild/snmpsim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit cb06a732689ab5cff4aef74e525940835e9981fd
|
|
@ -1,33 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
pkgname=snmpsim
|
||||
pkgver=0.2.4
|
||||
pkgrel=1
|
||||
pkgdesc="a software that would act like a multitude of real physical devices from SNMP Manager's point of view"
|
||||
arch=(any)
|
||||
url="http://snmpsim.sourceforge.net/"
|
||||
license=('BSD')
|
||||
depends=('python' 'python-pysnmp' 'python-pyasn1')
|
||||
optdepends=('pycrypto: SNMPv3 support')
|
||||
options=(!emptydirs)
|
||||
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('08981639fe50638197a77c156ff4e427')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
sed -i '1i #!/usr/bin/env python' scripts/*.py
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
python setup.py install --root="$pkgdir/" --optimize=1
|
||||
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
#some files are installed in /usr/snmpsim move them to python package dir
|
||||
mv "${pkgdir}/usr/${pkgname}/data" "${pkgdir}"`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`/${pkgname}/
|
||||
mv "${pkgdir}/usr/${pkgname}/variation" "${pkgdir}"`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`/${pkgname}/
|
||||
rmdir "${pkgdir}/usr/${pkgname}/"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue