Date: Friday, July 10, 2015 @ 19:56:02 Author: dreisner Revision: 242090
archrelease: copy trunk to testing-i686, testing-x86_64 Added: ed/repos/testing-i686/ ed/repos/testing-i686/PKGBUILD (from rev 242089, ed/trunk/PKGBUILD) ed/repos/testing-i686/ed.install (from rev 242089, ed/trunk/ed.install) ed/repos/testing-x86_64/ ed/repos/testing-x86_64/PKGBUILD (from rev 242089, ed/trunk/PKGBUILD) ed/repos/testing-x86_64/ed.install (from rev 242089, ed/trunk/ed.install) ---------------------------+ testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-i686/ed.install | 18 ++++++++++++++++++ testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-x86_64/ed.install | 18 ++++++++++++++++++ 4 files changed, 114 insertions(+) Copied: ed/repos/testing-i686/PKGBUILD (from rev 242089, ed/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-07-10 17:56:02 UTC (rev 242090) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Maintainer: Andreas Radke <andy...@archlinux.org> + +pkgname=ed +pkgver=1.12 +pkgrel=1 +pkgdesc="A POSIX-compliant line-oriented text editor" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnu.org/software/ed/ed.html" +depends=('glibc' 'sh') +options=('!emptydirs') +install='ed.install' +validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz +source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig}) +md5sums=('67c96fc79c29e86fb8002759c4a20e16' + 'SKIP') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/ \ + --bindir=/usr/bin \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + "CFLAGS=$CFLAGS" \ + "LDFLAGS=$LDFLAGS" + + make +} + +check() { + make -C "$pkgname-$pkgver" check +} + +package() { + make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install +} Copied: ed/repos/testing-i686/ed.install (from rev 242089, ed/trunk/ed.install) =================================================================== --- testing-i686/ed.install (rev 0) +++ testing-i686/ed.install 2015-07-10 17:56:02 UTC (rev 242090) @@ -0,0 +1,18 @@ +infodir=usr/share/info +filelist=(ed.info) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2>/dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2>/dev/null + done +} Copied: ed/repos/testing-x86_64/PKGBUILD (from rev 242089, ed/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-07-10 17:56:02 UTC (rev 242090) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Maintainer: Andreas Radke <andy...@archlinux.org> + +pkgname=ed +pkgver=1.12 +pkgrel=1 +pkgdesc="A POSIX-compliant line-oriented text editor" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnu.org/software/ed/ed.html" +depends=('glibc' 'sh') +options=('!emptydirs') +install='ed.install' +validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz +source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig}) +md5sums=('67c96fc79c29e86fb8002759c4a20e16' + 'SKIP') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/ \ + --bindir=/usr/bin \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + "CFLAGS=$CFLAGS" \ + "LDFLAGS=$LDFLAGS" + + make +} + +check() { + make -C "$pkgname-$pkgver" check +} + +package() { + make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install +} Copied: ed/repos/testing-x86_64/ed.install (from rev 242089, ed/trunk/ed.install) =================================================================== --- testing-x86_64/ed.install (rev 0) +++ testing-x86_64/ed.install 2015-07-10 17:56:02 UTC (rev 242090) @@ -0,0 +1,18 @@ +infodir=usr/share/info +filelist=(ed.info) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2>/dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2>/dev/null + done +}