From 7405006b190caa9d2b89b161909312311d7958ea Mon Sep 17 00:00:00 2001 From: Anke Date: Tue, 26 Mar 2013 19:00:13 +0000 Subject: [PATCH] apps texinfo group, ported from master --- aria2/PKGBUILD | 33 +++++++++++++++++++++++++ gammu/PKGBUILD | 28 +++++++++++++++++++++ gnu-netcat/PKGBUILD | 33 +++++++++++++++++++++++++ gnu-netcat/gnu-netcat.install | 13 ++++++++++ lftp/PKGBUILD | 11 ++++----- lftp/lftp.install | 12 +++++++++ lilypond/PKGBUILD | 39 +++++++++++------------------- lilypond/spacing-spanner-fix.patch | 12 --------- qemu-kvm/PKGBUILD | 5 +--- whois/PKGBUILD | 26 ++++++++++++++++++++ wput/PKGBUILD | 27 +++++++++++++++++++++ 11 files changed, 192 insertions(+), 47 deletions(-) create mode 100644 aria2/PKGBUILD create mode 100644 gammu/PKGBUILD create mode 100644 gnu-netcat/PKGBUILD create mode 100644 gnu-netcat/gnu-netcat.install create mode 100644 lftp/lftp.install delete mode 100644 lilypond/spacing-spanner-fix.patch create mode 100644 whois/PKGBUILD create mode 100644 wput/PKGBUILD diff --git a/aria2/PKGBUILD b/aria2/PKGBUILD new file mode 100644 index 000000000..0ca53f6c7 --- /dev/null +++ b/aria2/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Adrián Chaves Fernández (Gallaecio) + +pkgname=aria2 +pkgver=1.16.5 +pkgrel=1 +pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink.' +arch=('x86_64') +url='http://aria2.sourceforge.net/' +license=('GPL3') +depends=('ca-certificates' 'c-ares' 'gnutls' 'libxml2' 'sqlite3') +categories=('network') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz") +md5sums=('dbc9562de2fe5ef4a98e6d47eb784df1') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + + # add bash completion (aria2 automatically installs to a temporary target directory) + install -d ${pkgdir}/usr/share/bash-completion/completions + install -m644 ${pkgdir}/usr/share/doc/aria2/bash_completion/aria2c \ + ${pkgdir}/usr/share/bash-completion/completions + rm -rf ${pkgdir}/usr/share/doc/aria2/bash_completion +} diff --git a/gammu/PKGBUILD b/gammu/PKGBUILD new file mode 100644 index 000000000..aec1edf81 --- /dev/null +++ b/gammu/PKGBUILD @@ -0,0 +1,28 @@ +# maintainer (abveritas[at]chakra-project[dog]org> + +pkgname=gammu +pkgver=1.32.0 +pkgrel=2 +pkgdesc="GNU All Mobile Management Utilities" +arch=('x86_64') +url="http://wammu.eu/" +license=('GPL') +depends=('bluez' 'curl' 'libmariadbclient' 'postgresql-libs' 'python2' 'libusb' 'gnutls') +makedepends=('cmake' 'doxygen' 'mariadb') +optdepends=('dialog: support for the gammu-config script') +categories=('utils') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz") +md5sums=('a9de0904ab08093a1514d876c7bec13a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake . -DCMAKE_INSTALL_PREFIX="/usr" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/gnu-netcat/PKGBUILD b/gnu-netcat/PKGBUILD new file mode 100644 index 000000000..f236bde52 --- /dev/null +++ b/gnu-netcat/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Daniele Cocca +# Original Arch Linux Maintainer: Tom K + +_pkgname=netcat +pkgname=gnu-netcat +pkgver=0.7.1 +pkgrel=2 +pkgdesc="GNU rewrite of netcat, the network piping application." +depends=('glibc' 'texinfo') +arch=('x86_64') +url="http://netcat.sourceforge.net/" +license=('GPL') +replaces=('netcat') +provides=('netcat') +install="gnu-netcat.install" +categories=('network') +source=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2") +md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: diff --git a/gnu-netcat/gnu-netcat.install b/gnu-netcat/gnu-netcat.install new file mode 100644 index 000000000..a946aa2ee --- /dev/null +++ b/gnu-netcat/gnu-netcat.install @@ -0,0 +1,13 @@ +infodir=/usr/share/info + +post_install() { + install-info $infodir/netcat.info.gz $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + install-info --delete $infodir/netcat.info.gz $infodir/dir 2> /dev/null +} diff --git a/lftp/PKGBUILD b/lftp/PKGBUILD index 26b2dc2c3..233a9ce4f 100644 --- a/lftp/PKGBUILD +++ b/lftp/PKGBUILD @@ -1,10 +1,7 @@ -# -# Apps Packages for Chakra, part of chakra-project.org -# # maintainer abveritas@chakra-project.org pkgname=lftp -pkgver=4.4.3 +pkgver=4.4.5 pkgrel=2 pkgdesc="Sophisticated command line based FTP client with openssl" arch=('x86_64') @@ -13,11 +10,12 @@ license=('GPL3') depends=('gcc-libs' 'readline' "gnutls>=2.6.8" "expat>=2.0.1" 'perl' 'sh') makedepends=('autoconf') categories=('network') -source=("http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2") -md5sums=('b877c1f82b2d4dc503f40dcce4978ff4') +source=("ftp://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2") +md5sums=('a8abdc87a00174571908ffaf5cdffd45') build() { cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ --with-gnutls \ --without-openssl \ @@ -27,6 +25,7 @@ build() { package() { cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install rm -rf ${pkgdir}/usr/lib } diff --git a/lftp/lftp.install b/lftp/lftp.install new file mode 100644 index 000000000..d3a438348 --- /dev/null +++ b/lftp/lftp.install @@ -0,0 +1,12 @@ +pkgname=lftp +post_install() { + ln -s /usr/local/bin/lftp /usr/bin +} + +post_upgrade() { + post_install +} + +post_remove() { + rm /usr/bin/lftp +} \ No newline at end of file diff --git a/lilypond/PKGBUILD b/lilypond/PKGBUILD index 0322e269d..b4d9e5ea9 100644 --- a/lilypond/PKGBUILD +++ b/lilypond/PKGBUILD @@ -1,50 +1,39 @@ -# -# Chakra Packages for Chakra, part of chakra-project.org -# -# contributor (x86_64): Giuseppe Calà - -# include global config -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf +# maintainer abveritas@chakra-project.org pkgname=lilypond -pkgver=2.12.3 -pkgrel=1 +pkgver=2.16.2 +_pkgver=2.16 +pkgrel=2 pkgdesc="A music engraving program, devoted to producing the highest-quality sheet music possible." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://lilypond.org/" license=('GPL') -depends=('fontconfig' 'freetype2' 'ghostscript' - 'guile' 'pango' 'python') -categories=('multimedia') -makedepends=('bison' 'flex' 'fontforge' 'gettext' 'gsfonts' - 'perl' 'texinfo' 't1utils' 'texlive-core' 'netpbm') +depends=('fontconfig' 'freetype2' 'ghostscript' 'guile' 'pango' 'python2' 'texlive-core') +makedepends=('bison' 'flex' 'fontforge' 'gettext' 'gsfonts' 'perl' 'texinfo' 't1utils' + 'netpbm' 'texi2html') optdepends=('netpbm: building HTML documentation' 'imagemagick: building HTML documentation' 'ttf-kochi-substitute: building HTML documentation' 'texi2html>=1.82: building HTML documentation' 'rsync: installing HTML documentation') - +categories=('multimedia') +screenshot=('http://createdigitalmusic.com/files/2010/05/frescobaldi.png') install=$pkgname.install -source=(http://download.linuxaudio.org/${pkgname}/sources/v2.12/${pkgname}-${pkgver}.tar.gz - spacing-spanner-fix.patch) -md5sums=('2303bf5f2ea8d4628f33a68f016f3866' - 'a8fb1950f4b4a13eb7e74660e0015756') +source=("http://download.linuxaudio.org/${pkgname}/sources/v${_pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('6db27f17d47e4f66a3b0716c65db3041') build() { cd "$srcdir/lilypond-$pkgver" - # Applying patch to spacing-spanner.cc - patch -Np1 -i ${srcdir}/spacing-spanner-fix.patch - # python2 fix for file in $(find . -name '*.py' -print); do sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done - ./configure --prefix=/usr - make all + ./configure --prefix=/usr --disable-documentation + make } package() { diff --git a/lilypond/spacing-spanner-fix.patch b/lilypond/spacing-spanner-fix.patch deleted file mode 100644 index ba3e10522..000000000 --- a/lilypond/spacing-spanner-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur lilypond-2.12.3-orig/lily/spacing-spanner.cc lilypond-2.12.3/lily/spacing-spanner.cc ---- lilypond-2.12.3-orig/lily/spacing-spanner.cc 2010-01-12 16:20:49.000000000 +0000 -+++ lilypond-2.12.3/lily/spacing-spanner.cc 2010-11-22 12:41:07.956666673 +0000 -@@ -38,7 +38,7 @@ - vsize end = binary_search (all, (Grob*) me->get_bound (RIGHT), - &Paper_column::less_than); - -- all = vector::vector (all.begin () + start, -+ all = vector (all.begin () + start, - all.begin () + end + 1); - return all; - } diff --git a/qemu-kvm/PKGBUILD b/qemu-kvm/PKGBUILD index cdbc98d82..044713007 100644 --- a/qemu-kvm/PKGBUILD +++ b/qemu-kvm/PKGBUILD @@ -1,12 +1,9 @@ -# -# Apps Packages for Chakra, part of chakra-project.org -# # Maintainer: Adrián Chaves Fernández (Gallaecio) pkgname=qemu-kvm _pkgname=kvm pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Generic and open source processor emulator using dynamic translation to improve speed." arch=('x86_64') license=('GPL2' 'LGPL2.1') diff --git a/whois/PKGBUILD b/whois/PKGBUILD new file mode 100644 index 000000000..fb592878a --- /dev/null +++ b/whois/PKGBUILD @@ -0,0 +1,26 @@ +# maintainer Inkane +# contribtutor Justinas Lelys + +pkgname=whois +pkgver=5.0.20 +pkgrel=1 +pkgdesc="The whois client by Marco d'Itri" +arch=('x86_64') +url="http://www.linux.it/~md/software/" +license=('GPL') +depends=('libidn') +makedepends=('perl') +source=("http://ftp.debian.org/debian/pool/main/w/whois/whois_${pkgver}.tar.xz") +md5sums=('2e33c03536082ae8156b2cbe78c0299d') + +build() { + cd "${srcdir}/whois-${pkgver}" + + make prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1 +} + +package() { + cd "${srcdir}/whois-${pkgver}" + + make prefix=/usr BASEDIR="${pkgdir}" install-whois +} diff --git a/wput/PKGBUILD b/wput/PKGBUILD new file mode 100644 index 000000000..fb306a358 --- /dev/null +++ b/wput/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Neophytos Kolokotronis + +pkgname=wput +pkgver=0.6.2 +pkgrel=2 +pkgdesc="A command line tool to upload files to FTP site, the opposite to wget" +arch=('x86_64') +url="http://wput.sourceforge.net/" +depends=('gnutls') +license=('GPL') +source=("http://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz") +md5sums=('a14c4c13d91d04d6119bdc977e8a8bdf') + +build() { + cd $srcdir/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make + install -m755 -d ${pkgdir}/usr/bin + install -m755 -d ${pkgdir}/usr/share/man/man1 +} + +package() { + cd $srcdir/${pkgname}-${pkgver} + make prefix=${pkgdir}/usr install + ln -sf wput $pkgdir/usr/bin/wdel +} \ No newline at end of file