diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/armory/PKGBUILD | 45 | ||||
-rw-r--r-- | pcr/armory/build_detect_platform-01.patch | 13 | ||||
-rw-r--r-- | pcr/armory/run-armory.sh | 3 | ||||
-rw-r--r-- | pcr/assh/PKGBUILD | 31 | ||||
-rw-r--r-- | pcr/assh/destdir.patch | 11 | ||||
-rw-r--r-- | pcr/dynamips/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/packer-io/PKGBUILD | 42 | ||||
-rw-r--r-- | pcr/rootcheck/PKGBUILD | 23 | ||||
-rw-r--r-- | pcr/vim-colors-solarized-git/PKGBUILD | 32 | ||||
-rw-r--r-- | pcr/vim-colorschemes/PKGBUILD | 38 | ||||
-rw-r--r-- | pcr/vim-pathogen/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/vim-pathogen/vimdoc.install | 14 | ||||
-rw-r--r-- | pcr/vim-pydiction/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/vim-pydiction/pydiction.install | 13 | ||||
-rw-r--r-- | pcr/vim-sudo/PKGBUILD | 20 |
15 files changed, 361 insertions, 0 deletions
diff --git a/pcr/armory/PKGBUILD b/pcr/armory/PKGBUILD new file mode 100644 index 000000000..adb60a766 --- /dev/null +++ b/pcr/armory/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: portals <portals at riseup.net> +#Base on work of: 2bluesc <2bluesc at gmail.com> and mazzolino <maze+aur at strahlungsfrei.de> +# Contributor: Pieter Kokx <pieter@kokx.nl> + +pkgname=armory +_pkgname=BitcoinArmory +pkgver=0.92.3 +_pkgver=0.92.3 +pkgrel=2 +pkgdesc="Python-Based Bitcoin Software" +arch=('i686' 'x86_64') +url="https://github.com/etotheipi/BitcoinArmory" +license=('AGPL3') +groups=() +depends=('crypto++' 'swig' 'python2' 'twisted' 'qt4' 'python2-pyqt4' 'python2-bsddb' 'python2-psutil') +makedepends=('git' 'gcc' 'make') +provides=('armory') +conflicts=('armory') +replaces=() +backup=() +options=() +install= +source=("run-armory.sh" "build_detect_platform-01.patch" "http://github.com/etotheipi/BitcoinArmory/archive/v$_pkgver.tar.gz") +noextract=() + +build() { + cd $srcdir/BitcoinArmory-$_pkgver/ + + patch -p0 -i $srcdir//build_detect_platform-01.patch + + make PYVER=python2.7 +} + +package() { + install -Dm 755 "$srcdir/run-armory.sh" "$pkgdir/usr/bin/armory" + + mkdir -p "$pkgdir/opt" + cp -R "$srcdir/$_pkgname-$_pkgver/" "$pkgdir/opt/" + mv "$pkgdir/opt/$_pkgname-$_pkgver" "$pkgdir/opt/$_pkgname" + + rm -rf "$pkgdir/opt/$_pkgname/cppForSwig/" + rm -rf "$pkgdir/opt/$_pkgname/.git/" + rm -rf "$pkgdir/opt/$_pkgname/.gitignore" +} diff --git a/pcr/armory/build_detect_platform-01.patch b/pcr/armory/build_detect_platform-01.patch new file mode 100644 index 000000000..ca3a5cc8d --- /dev/null +++ b/pcr/armory/build_detect_platform-01.patch @@ -0,0 +1,13 @@ +--- cppForSwig/leveldb/build_detect_platform 2014-04-21 15:57:03.485118965 +0200 ++++ cppForSwig/leveldb/build_detect_platform_fix 2014-04-21 15:59:19.714407671 +0200 +@@ -185,9 +185,7 @@ + + # Test whether Snappy library is installed + # http://code.google.com/p/snappy/ +- $CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT 2>/dev/null <<EOF +- #include <snappy.h> +- int main() {} ++ + EOF + if [ "$?" = 0 ]; then + COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY" diff --git a/pcr/armory/run-armory.sh b/pcr/armory/run-armory.sh new file mode 100644 index 000000000..fe3368474 --- /dev/null +++ b/pcr/armory/run-armory.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python2 /opt/BitcoinArmory/ArmoryQt.py $@ diff --git a/pcr/assh/PKGBUILD b/pcr/assh/PKGBUILD new file mode 100644 index 000000000..c62dba8c4 --- /dev/null +++ b/pcr/assh/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Bartek Piotrowski <barthalion@gmail.com> + +pkgname=assh +pkgver=2.3 +pkgrel=1 +pkgdesc="SSH client which uses SSL proxies to establish anonymous connections" +arch=('i686' 'x86_64') +url="http://assh.sourceforge.net/" +license=('GPL') +depends=('openssl') +provides=('corkscrew') +conflicts=('corkscrew') +source=(http://downloads.sourceforge.net/assh/$pkgname-$pkgver.tgz + destdir.patch) + +build() { + cd "${srcdir}"/$pkgname + + make +} + +package() { + cd "$srcdir/$pkgname" + + install -d "${pkgdir}"/usr/bin + patch < "${srcdir}"/destdir.patch + + make DESTDIR="${pkgdir}" install +} diff --git a/pcr/assh/destdir.patch b/pcr/assh/destdir.patch new file mode 100644 index 000000000..f845b1d0d --- /dev/null +++ b/pcr/assh/destdir.patch @@ -0,0 +1,11 @@ +--- assh/Makefile 2010-03-30 22:47:12.000000000 +0200 ++++ Makefile 2010-12-18 17:53:46.232999739 +0100 +@@ -12,7 +12,7 @@ + cc ${CFLAGS} corkscrew.c -o corkscrew + + install: +- cp -f ${PROGS} /usr/bin/ ++ cp -f ${PROGS} ${DESTDIR}/usr/bin + + clean: + rm -f ${PROGS} *.o diff --git a/pcr/dynamips/PKGBUILD b/pcr/dynamips/PKGBUILD new file mode 100644 index 000000000..a4e6008e7 --- /dev/null +++ b/pcr/dynamips/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: korjjj <korjjj+aur@gmail.com> + +pkgname=dynamips +pkgver=0.2.14 +pkgrel=1 +pkgdesc='Cisco router emulator.' +arch=('i686' 'x86_64') +url='http://www.gns3.net/dynamips' +license=('GPL2') +depends=(libpcap util-linux elfutils) +makedepends=('cmake') +source=("https://github.com/GNS3/dynamips/archive/v${pkgver}.tar.gz") + +build() { + if test "$CARCH" == x86_64; then + export DYNAMIPS_ARCH=amd64 + fi + cd ${srcdir}/${pkgname}-${pkgver} + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/packer-io/PKGBUILD b/pcr/packer-io/PKGBUILD new file mode 100644 index 000000000..3eb9c3842 --- /dev/null +++ b/pcr/packer-io/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: Danilo Kuehn <dk[at]nogo-software[dot]de> + +_name=packer +pkgname=packer-io +pkgver=0.7.2 +pkgrel=1 +pkgdesc="Packer is a tool for creating identical machine images for multiple platforms from a single source configuration." +url="http://www.packer.io" +arch=('x86_64' 'i686') +license=('MPL2') +depends=(unzip) +optdepends=() +conflicts=() + +# https://dl.bintray.com/mitchellh/packer/packer_0.7.2_linux_amd64.zip +# https://dl.bintray.com/mitchellh/packer/#packer_0.7.2_linux_amd64.zip +if test "$CARCH" == i686; then +source=("${_name}-${pkgver}.zip::https://dl.bintray.com/mitchellh/packer/${_name}_${pkgver}_linux_386.zip") +else +source=("${_name}-${pkgver}.zip::https://dl.bintray.com/mitchellh/packer/${_name}_${pkgver}_linux_amd64.zip") +fi +noextract=(${source[@]%%::*}) + +prepare() { + if [[ -e ${srcdir}/${_name}-${pkgver} ]]; then rm -rf ${srcdir}/${_name}-${pkgver}; fi + mkdir ${srcdir}/${_name}-${pkgver} + unzip -o ${_name}-${pkgver}.zip -d ${srcdir}/${_name}-${pkgver} +} + +package() { + install -dm755 "${pkgdir}/usr/bin" + + cd "${srcdir}/${_name}-${pkgver}" + for file in `ls ${srcdir}/${_name}-${pkgver}`; do + if [ "$file" == "packer" ]; then + install -Dm755 "$file" "${pkgdir}/usr/bin/${file}-io" + else + install -Dm755 "$file" "${pkgdir}/usr/bin/${file}" + fi + done +} diff --git a/pcr/rootcheck/PKGBUILD b/pcr/rootcheck/PKGBUILD new file mode 100644 index 000000000..89ccefda7 --- /dev/null +++ b/pcr/rootcheck/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com> + +pkgname=rootcheck +pkgver=2.4 +pkgrel=2 +pkgdesc="an open source rootkit detection and system auditing software" +arch=(i686 x86_64) +url="http://www.ossec.net/main/rootcheck" +license=("GPL") +source=(http://www.ossec.net/rootcheck/files/rootcheck-$pkgver.tar.gz) + +package() { + cd $srcdir/$pkgname-$pkgver + sed -i 's|./rootcheck.conf|/etc/rootcheck.conf|' src/rootcheck/rootcheck.c + make all + sed -i 's|./db/|/usr/share/rootcheck/db/|' rootcheck.conf + mkdir -p $pkgdir/{etc,usr/share/rootcheck,usr/bin} + install -m 755 ossec-rootcheck $pkgdir/usr/bin + install -m 644 rootcheck.conf $pkgdir/etc + cp -a db $pkgdir/usr/share/rootcheck +} + diff --git a/pcr/vim-colors-solarized-git/PKGBUILD b/pcr/vim-colors-solarized-git/PKGBUILD new file mode 100644 index 000000000..c40333a00 --- /dev/null +++ b/pcr/vim-colors-solarized-git/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: Mario Finelli <mtfinelli at gmail dot com> + +pkgname=vim-colors-solarized-git +pkgver=20110509 +pkgrel=2 +pkgdesc="Precision colors for machines and people." +arch=('any') +url="http://ethanschoonover.com/solarized" +license=('MIT') +makedepends=('git') +depends=('vim') +conflicts=('vim-solarized') +provides=('vim-solarized') +source=("$pkgname::git://github.com/altercation/vim-colors-solarized.git") + +pkgver() { + cd "$srcdir/$pkgname" + local _tmpver="$(git log -n 1 --format="%cd" --date=short)" + echo "${_tmpver//-/}" +} + +package() { + cd "$srcdir/$pkgname" + + install -dm755 $pkgdir/usr/share/vim/vimfiles/{plugin,bitmaps,colors,doc} + + install -Dm644 autoload/* $pkgdir/usr/share/vim/vimfiles/plugin/ + install -Dm644 bitmaps/* $pkgdir/usr/share/vim/vimfiles/bitmaps/ + install -Dm644 colors/* $pkgdir/usr/share/vim/vimfiles/colors/ + install -Dm644 doc/solarized.txt $pkgdir/usr/share/vim/vimfiles/doc/ +} diff --git a/pcr/vim-colorschemes/PKGBUILD b/pcr/vim-colorschemes/PKGBUILD new file mode 100644 index 000000000..1ed3cc251 --- /dev/null +++ b/pcr/vim-colorschemes/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: jsteel <mail at jsteel dot org> +# Contributor: nblock <nblock [/at\] archlinux DOT us> +# Contributor: William Díaz <wdiaz [at] archlinux [dot] us> +# Contributor: Wolfgang Frisch <xororand@frexx.de> +# Contributor: Leandro Inacio <carvalho.inacio@gmail.com> + +pkgname=vim-colorschemes +pkgver=20130124 +pkgrel=1 +pkgdesc="A very large collection of color schemes from vim.org" +url="http://packages.gentoo.org/package/app-vim/colorschemes" +arch=('any') +conflicts=('vim-colorsamplerpack' 'vim-solarized-git') +depends=('vim') +license=('vim' 'GPL2' 'public-domain' 'as-is') +groups=('vim-plugins') +source=("http://dev.gentoo.org/~radhermit/vim/colorschemes-$pkgver.tar.bz2") + +build() { + cd "$srcdir"/colorschemes-$pkgver + + patch -Np0 -i patches/kib_plastic.patch + patch -Np0 -i patches/potts.patch + + # fix line endings + find . -name '*.vim' -exec sed -i -e 's,\r,\n,g' {} \; +} + +package() { + cd "$srcdir"/colorschemes-$pkgver + + install -dm755 "$pkgdir"/usr/share/vim/vimfiles/colors + install -m644 colors/* "$pkgdir"/usr/share/vim/vimfiles/colors/ + + # delete existing colors + rm -r "$pkgdir"/usr/share/vim/vimfiles/colors/{blue.vim,delek.vim,desert.vim,torte.vim} +} diff --git a/pcr/vim-pathogen/PKGBUILD b/pcr/vim-pathogen/PKGBUILD new file mode 100644 index 000000000..04260d47d --- /dev/null +++ b/pcr/vim-pathogen/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Maintainer: Facundo Tuesca <facutuesca at gmail dot com> + +pkgname=vim-pathogen +pkgver=2.3 +pkgrel=1 +pkgdesc="A vim plugin for managing your runtimepath" +arch=('any') +url="http://github.com/tpope/vim-pathogen" +license=('GPL') +groups=('vim-plugins') +depends=('vim') +install=vimdoc.install +source=("$pkgname-$pkgver.tar.gz"::"https://github.com/tpope/$pkgname/archive/v$pkgver.tar.gz") + +package() { + cd "$pkgname-$pkgver" + install -Dm755 autoload/pathogen.vim "$pkgdir"/usr/share/vim/vimfiles/autoload/pathogen.vim +} diff --git a/pcr/vim-pathogen/vimdoc.install b/pcr/vim-pathogen/vimdoc.install new file mode 100644 index 000000000..0ffd9dde8 --- /dev/null +++ b/pcr/vim-pathogen/vimdoc.install @@ -0,0 +1,14 @@ +post_install() { + echo -n 'Updating vim help tags...' + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo 'done.' +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/vim-pydiction/PKGBUILD b/pcr/vim-pydiction/PKGBUILD new file mode 100644 index 000000000..f2cfa4ada --- /dev/null +++ b/pcr/vim-pydiction/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: Alireza Savand <alireza.savand@gmail.com> +# Contributor: lemanyk <lemanyk@gmail.com> +# Contributor: Florian Friesdorf <archlinux@chaoflow.net> +# Contributor: Laszlo Papp <djszapi @ gmail at com> + +pkgname=vim-pydiction +pkgver=1.2.3 +_scriptid=21842 +pkgrel=2 +pkgdesc="Allows you to auto-complete your Python code" +arch=('any') +url="http://www.vim.org/scripts/script.php?script_id=850" +license=('BSD') +groups=('vim-plugins') +depends=('vim' 'python2') +install='pydiction.install' +source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}) + +package() { + cd ${srcdir}/pydiction + + install -Dm755 pydiction.py ${pkgdir}/usr/bin/pydiction.py + install -Dm644 complete-dict ${pkgdir}/usr/share/pydiction/complete-dict + install -Dm644 after/ftplugin/python_pydiction.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/python_pydiction.vim + install -Dm644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README.txt +} + diff --git a/pcr/vim-pydiction/pydiction.install b/pcr/vim-pydiction/pydiction.install new file mode 100644 index 000000000..d55731df2 --- /dev/null +++ b/pcr/vim-pydiction/pydiction.install @@ -0,0 +1,13 @@ +post_install() { + echo " Add to your .vimrc file:" + echo "filetype plugin on" + echo "let g:pydiction_location='/usr/share/pydiction/complete-dict'" +} + +post_upgrade() { + echo " Add to your .vimrc file:" + echo "filetype plugin on" + echo "let g:pydiction_location='/usr/share/pydiction/complete-dict'" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/vim-sudo/PKGBUILD b/pcr/vim-sudo/PKGBUILD new file mode 100644 index 000000000..1803f780e --- /dev/null +++ b/pcr/vim-sudo/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Maintainer : Bob Fanger < bfanger(at)gmail > + +pkgname=vim-sudo +pkgver=2.0 +pkgrel=5 +pkgdesc="Adding the ability to read and write one file with root privileges without running vim as root (:w sudo:/etc/rc.conf)" +arch=(i686 x86_64) +license="unknown" +url="http://www.vim.org/scripts/script.php?script_id=729" +depends=(vim sudo) +groups=('vim-plugins') +source=(http://www.vim.org/scripts/download_script.php?src_id=3477) + +package() +{ + cd "${srcdir}" + install -D -m644 "download_script.php?src_id=3477" "$pkgdir/usr/share/vim/vimfiles/plugin/sudo.vim" +} + |