Date: Thursday, January 5, 2012 @ 16:19:10 Author: eric Revision: 146194
archrelease: copy trunk to extra-i686, extra-x86_64 Added: foobillard++/repos/extra-i686/PKGBUILD (from rev 146193, foobillard++/trunk/PKGBUILD) foobillard++/repos/extra-x86_64/PKGBUILD (from rev 146193, foobillard++/trunk/PKGBUILD) Deleted: foobillard++/repos/extra-i686/PKGBUILD foobillard++/repos/extra-x86_64/PKGBUILD -----------------------+ extra-i686/PKGBUILD | 72 ++++++++++++++++++++++++------------------------ extra-x86_64/PKGBUILD | 72 ++++++++++++++++++++++++------------------------ 2 files changed, 72 insertions(+), 72 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2012-01-05 21:18:44 UTC (rev 146193) +++ extra-i686/PKGBUILD 2012-01-05 21:19:10 UTC (rev 146194) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=foobillard++ -pkgver=3.41beta -pkgrel=1 -pkgdesc="An OpenGL billiard game" -arch=('i686' 'x86_64') -url="http://foobillardplus.sourceforge.net/" -license=('GPL2') -depends=('bzip2' 'freetype2' 'libpng' 'mesa' 'sdl_net') -replaces=('foobillard') -source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz) -sha1sums=('41d6db473557386ffeacd98b9a2ee26198e42c6a') - -build() { - cd "${srcdir}/foobillardplus-${pkgver}" - sed -i 's|$prefix/foobillardplus|$prefix|' configure - sed -i 's|$prefix/data|$prefix/share/foobillardplus|' configure - sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c - sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop - sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/foobillardplus-${pkgver}" - install -Dm755 src/foobillardplus "${pkgdir}/usr/bin/foobillardplus" - install -d "${pkgdir}/usr/share/foobillardplus" - cp -R data/* "${pkgdir}/usr/share/foobillardplus" - install -Dm644 foobillardplus.desktop "${pkgdir}/usr/share/applications/foobillardplus.desktop" - install -Dm644 foobillardplus.png "${pkgdir}/usr/share/pixmaps/foobillardplus.png" - install -Dm644 foobillardplus.xbm "${pkgdir}/usr/share/pixmaps/foobillardplus.xbm" - find "${pkgdir}" -depth -type d -name .svn -exec rm -rf {} \; -} Copied: foobillard++/repos/extra-i686/PKGBUILD (from rev 146193, foobillard++/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-01-05 21:19:10 UTC (rev 146194) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=foobillard++ +pkgver=3.42beta +pkgrel=1 +pkgdesc="An OpenGL billiard game" +arch=('i686' 'x86_64') +url="http://foobillardplus.sourceforge.net/" +license=('GPL2') +depends=('freetype2' 'libpng' 'mesa' 'sdl_net' 'sdl_mixer') +replaces=('foobillard') +source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz) +sha1sums=('51507efab0f595cfff26149003faf669c0a42f32') + +build() { + cd "${srcdir}/foobillardplus-${pkgver}" + aclocal --force + autoconf -f + autoheader -f + automake -a -c -f + ./configure --prefix=/usr/share + make +} + +package() { + cd "${srcdir}/foobillardplus-${pkgver}" + make DESTDIR="${pkgdir}" datadir="${pkgdir}/usr/share/foobillardplus/data" \ + prefix="${pkgdir}/usr/share" install + + install -d "${pkgdir}"/usr/{bin,share/{applications,pixmaps}} + mv "${pkgdir}"/usr/share/{AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO} "${pkgdir}/usr/share/foobillardplus" + mv "${pkgdir}"/usr/share/foobillardplus.desktop "${pkgdir}"/usr/share/applications + mv "${pkgdir}"/usr/share/foobillardplus.{png,xbm} "${pkgdir}"/usr/share/pixmaps + ln -s /usr/share/foobillardplus/bin/foobillardplus "${pkgdir}"/usr/bin/foobillardplus +} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2012-01-05 21:18:44 UTC (rev 146193) +++ extra-x86_64/PKGBUILD 2012-01-05 21:19:10 UTC (rev 146194) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=foobillard++ -pkgver=3.41beta -pkgrel=1 -pkgdesc="An OpenGL billiard game" -arch=('i686' 'x86_64') -url="http://foobillardplus.sourceforge.net/" -license=('GPL2') -depends=('bzip2' 'freetype2' 'libpng' 'mesa' 'sdl_net') -replaces=('foobillard') -source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz) -sha1sums=('41d6db473557386ffeacd98b9a2ee26198e42c6a') - -build() { - cd "${srcdir}/foobillardplus-${pkgver}" - sed -i 's|$prefix/foobillardplus|$prefix|' configure - sed -i 's|$prefix/data|$prefix/share/foobillardplus|' configure - sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c - sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop - sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/foobillardplus-${pkgver}" - install -Dm755 src/foobillardplus "${pkgdir}/usr/bin/foobillardplus" - install -d "${pkgdir}/usr/share/foobillardplus" - cp -R data/* "${pkgdir}/usr/share/foobillardplus" - install -Dm644 foobillardplus.desktop "${pkgdir}/usr/share/applications/foobillardplus.desktop" - install -Dm644 foobillardplus.png "${pkgdir}/usr/share/pixmaps/foobillardplus.png" - install -Dm644 foobillardplus.xbm "${pkgdir}/usr/share/pixmaps/foobillardplus.xbm" - find "${pkgdir}" -depth -type d -name .svn -exec rm -rf {} \; -} Copied: foobillard++/repos/extra-x86_64/PKGBUILD (from rev 146193, foobillard++/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2012-01-05 21:19:10 UTC (rev 146194) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=foobillard++ +pkgver=3.42beta +pkgrel=1 +pkgdesc="An OpenGL billiard game" +arch=('i686' 'x86_64') +url="http://foobillardplus.sourceforge.net/" +license=('GPL2') +depends=('freetype2' 'libpng' 'mesa' 'sdl_net' 'sdl_mixer') +replaces=('foobillard') +source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz) +sha1sums=('51507efab0f595cfff26149003faf669c0a42f32') + +build() { + cd "${srcdir}/foobillardplus-${pkgver}" + aclocal --force + autoconf -f + autoheader -f + automake -a -c -f + ./configure --prefix=/usr/share + make +} + +package() { + cd "${srcdir}/foobillardplus-${pkgver}" + make DESTDIR="${pkgdir}" datadir="${pkgdir}/usr/share/foobillardplus/data" \ + prefix="${pkgdir}/usr/share" install + + install -d "${pkgdir}"/usr/{bin,share/{applications,pixmaps}} + mv "${pkgdir}"/usr/share/{AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO} "${pkgdir}/usr/share/foobillardplus" + mv "${pkgdir}"/usr/share/foobillardplus.desktop "${pkgdir}"/usr/share/applications + mv "${pkgdir}"/usr/share/foobillardplus.{png,xbm} "${pkgdir}"/usr/share/pixmaps + ln -s /usr/share/foobillardplus/bin/foobillardplus "${pkgdir}"/usr/bin/foobillardplus +}