Date: Thursday, June 11, 2015 @ 21:57:34 Author: seblu Revision: 240609
archrelease: copy trunk to testing-i686, testing-x86_64 Added: file/repos/testing-i686/ file/repos/testing-i686/PKGBUILD (from rev 240608, file/trunk/PKGBUILD) file/repos/testing-x86_64/ file/repos/testing-x86_64/PKGBUILD (from rev 240608, file/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) Copied: file/repos/testing-i686/PKGBUILD (from rev 240608, file/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-06-11 19:57:34 UTC (rev 240609) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sébastien Luttringer <se...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: Andreas Radke <andy...@archlinux.org> + +pkgname=file +pkgver=5.23 +pkgrel=1 +pkgdesc='File type identification utility' +arch=('i686' 'x86_64') +license=('custom') +groups=('base' 'base-devel') +url='http://www.darwinsys.com/file/' +depends=('glibc' 'zlib') +source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('61db35209ce71a6d576392ce6e1d2f80') + +#prepare() { +# # https://bugs.archlinux.org/task/43078 +# patch -p1 -d $pkgname-$pkgver < '01-fix-broken-xz.patch' +# # https://bugs.archlinux.org/task/43082 +# patch -p1 -d $pkgname-$pkgver < '02-ignore-exit-code-from-uncompress.patch' +#} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --datadir=/usr/share/file + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + rmdir "$pkgdir/usr/share/man/man5" +} + +# vim:set ts=2 sw=2 et: Copied: file/repos/testing-x86_64/PKGBUILD (from rev 240608, file/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-06-11 19:57:34 UTC (rev 240609) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sébastien Luttringer <se...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: Andreas Radke <andy...@archlinux.org> + +pkgname=file +pkgver=5.23 +pkgrel=1 +pkgdesc='File type identification utility' +arch=('i686' 'x86_64') +license=('custom') +groups=('base' 'base-devel') +url='http://www.darwinsys.com/file/' +depends=('glibc' 'zlib') +source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('61db35209ce71a6d576392ce6e1d2f80') + +#prepare() { +# # https://bugs.archlinux.org/task/43078 +# patch -p1 -d $pkgname-$pkgver < '01-fix-broken-xz.patch' +# # https://bugs.archlinux.org/task/43082 +# patch -p1 -d $pkgname-$pkgver < '02-ignore-exit-code-from-uncompress.patch' +#} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --datadir=/usr/share/file + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + rmdir "$pkgdir/usr/share/man/man5" +} + +# vim:set ts=2 sw=2 et: