[arch-commits] Commit in foobillard++/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Jun 5 20:42:35 UTC 2018


    Date: Tuesday, June 5, 2018 @ 20:42:33
  Author: arojas
Revision: 325953

archrelease: copy trunk to extra-x86_64

Added:
  foobillard++/repos/extra-x86_64/PKGBUILD
    (from rev 325952, foobillard++/trunk/PKGBUILD)
Deleted:
  foobillard++/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-05 20:42:01 UTC (rev 325952)
+++ PKGBUILD	2018-06-05 20:42:33 UTC (rev 325953)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=foobillard++
-pkgver=3.42beta
-pkgrel=5
-pkgdesc="An OpenGL billiard game"
-arch=('i686' 'x86_64')
-url="http://foobillardplus.sourceforge.net/"
-license=('GPL2')
-depends=('freetype2' 'libpng' 'glu' 'sdl_net' 'sdl_mixer')
-makedepends=('mesa')
-replaces=('foobillard')
-source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz)
-sha1sums=('51507efab0f595cfff26149003faf669c0a42f32')
-
-prepare() {
-  cd foobillardplus-${pkgver}
-  sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
-  sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
-}
-
-build() {
-  cd foobillardplus-${pkgver}
-  aclocal --force
-  autoconf -f
-  autoheader -f
-  automake -a -c -f 
-  ./configure --prefix=/usr/share
-  make
-}
-
-package() {
-  cd 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
-}

Copied: foobillard++/repos/extra-x86_64/PKGBUILD (from rev 325952, foobillard++/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-05 20:42:33 UTC (rev 325953)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=foobillard++
+pkgver=3.42beta
+pkgrel=6
+pkgdesc="An OpenGL billiard game"
+arch=('x86_64')
+url="http://foobillardplus.sourceforge.net/"
+license=('GPL2')
+depends=('freetype2' 'libpng' 'glu' 'sdl_net' 'sdl_mixer')
+replaces=('foobillard')
+source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz)
+sha1sums=('51507efab0f595cfff26149003faf669c0a42f32')
+
+prepare() {
+  cd foobillardplus-${pkgver}
+  sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
+  sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
+  sed -e 's|freetype-config|pkg-config freetype2|g' -i src/Makefile.am
+  sed -e 's|inline float|float|g' -i src/vmath.*
+}
+
+build() {
+  cd foobillardplus-${pkgver}
+  aclocal --force
+  autoconf -f
+  autoheader -f
+  automake -a -c -f 
+  ./configure --prefix=/usr/share
+  make
+}
+
+package() {
+  cd 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
+}



More information about the arch-commits mailing list