From 22e5f5bf64eba5c65674eeb3a8167de2854dbe0e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Feb 2012 23:14:44 +0000 Subject: Thu Feb 2 23:14:44 UTC 2012 --- testing/emacs/PKGBUILD | 21 ++++++++------------- testing/libssh2/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 13 deletions(-) create mode 100644 testing/libssh2/PKGBUILD (limited to 'testing') diff --git a/testing/emacs/PKGBUILD b/testing/emacs/PKGBUILD index a8f2f3654..7fa3741a5 100644 --- a/testing/emacs/PKGBUILD +++ b/testing/emacs/PKGBUILD @@ -1,28 +1,23 @@ -# $Id: PKGBUILD 148085 2012-01-30 18:45:21Z ibiru $ +# $Id: PKGBUILD 148457 2012-02-01 08:56:36Z juergen $ # Maintainer: Juergen Hoetzel # Contributor: Renchi Raju pkgname=emacs -_majorver=23.3 -_minorver=b -# We want something like "23.3.a" so pacman version comparison works, but -# upstream uses "23.3a", which is a bit silly and interpreted as alpha. -pkgver=$_majorver.$_minorver -_realver=$_majorver$_minorver -pkgrel=2 +pkgver=23.4 +pkgrel=1 pkgdesc="The extensible, customizable, self-documenting real-time display editor" arch=('i686' 'x86_64') url="http://www.gnu.org/software/emacs/emacs.html" license=('GPL3') depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'gtk2' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib') install=emacs.install -source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$_realver.tar.bz2{,.sig} emacs-subversion17.patch) -md5sums=('917ce0054ef63773078a6e99b55df1ee' - '4f987fbb906c0ee73e05904b0f7ce5ec' +source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.bz2{,.sig} emacs-subversion17.patch) +md5sums=('070c68ad8e3c31fb3cb2414feaf5e6f0' + '55eb16eb48b44987693c0e3ea5ab8075' '12e2e7a66df5cc5ded54e1d30083a1fb') build() { - cd "$srcdir"/$pkgname-$_majorver + cd "$srcdir"/$pkgname-$pkgver patch -p1 -i ../emacs-subversion17.patch ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ --localstatedir=/var --with-x-toolkit=gtk --with-xft @@ -30,7 +25,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$_majorver + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install # remove conflict with ctags package diff --git a/testing/libssh2/PKGBUILD b/testing/libssh2/PKGBUILD new file mode 100644 index 000000000..76eabb1f2 --- /dev/null +++ b/testing/libssh2/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 148465 2012-02-01 13:38:10Z dreisner $ +# Maintainer: Dave Reisner +# Contributor: Angel Velasquez +# Contributor: Sergej Pupykin +# Contributor: Andrea Scarpino +# Contributor: ice-man + +pkgname=libssh2 +pkgver=1.4.0 +pkgrel=1 +pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts" +url="http://www.libssh2.org/" +arch=('i686' 'x86_64') +license=('BSD') +depends=('openssl') +makedepends=('zlib') +provides=('libssh2.so=1-64') +options=('!libtool') +source=("http://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc}) +md5sums=('ee670161d8c5dff93ae84a3f34f15669' + 'd30af693479e5e88036ffb61ab8d0dc9') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-54-g00ecf