[arch-commits] Commit in foobillard++/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jun 5 20:42:02 UTC 2018
Date: Tuesday, June 5, 2018 @ 20:42:01
Author: arojas
Revision: 325952
BUILDINFO rebuild
Modified:
foobillard++/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-05 20:37:41 UTC (rev 325951)
+++ PKGBUILD 2018-06-05 20:42:01 UTC (rev 325952)
@@ -3,13 +3,12 @@
pkgname=foobillard++
pkgver=3.42beta
-pkgrel=5
+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')
-makedepends=('mesa')
replaces=('foobillard')
source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz)
sha1sums=('51507efab0f595cfff26149003faf669c0a42f32')
@@ -18,6 +17,8 @@
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() {
@@ -33,7 +34,7 @@
package() {
cd foobillardplus-${pkgver}
make DESTDIR="${pkgdir}" datadir="${pkgdir}/usr/share/foobillardplus/data" \
- prefix="${pkgdir}/usr/share" install
+ 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"
More information about the arch-commits
mailing list