[arch-commits] Commit in fox-devel/repos (2 files)
David Runge
dvzrv at archlinux.org
Sun Dec 3 02:36:14 UTC 2017
Date: Sunday, December 3, 2017 @ 02:36:13
Author: dvzrv
Revision: 271955
archrelease: copy trunk to community-testing-x86_64
Added:
fox-devel/repos/community-testing-x86_64/
fox-devel/repos/community-testing-x86_64/PKGBUILD
(from rev 271954, fox-devel/trunk/PKGBUILD)
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Copied: fox-devel/repos/community-testing-x86_64/PKGBUILD (from rev 271954, fox-devel/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-12-03 02:36:13 UTC (rev 271955)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
+
+pkgname=fox-devel
+pkgver=1.7.61
+pkgrel=1
+pkgdesc="Free Objects for X: GUI Toolkit for C++, development version."
+arch=('x86_64')
+url="http://www.fox-toolkit.org/"
+license=('LGPL' 'custom')
+depends=('glu' 'libsm' 'libtiff' 'libxcursor' 'libxft' 'libxi' 'libxrandr')
+makedepends=('mesa')
+provides=("fox=${pkgver}")
+source=("${url/www/ftp}pub/fox-${pkgver}.tar.gz")
+sha512sums=('d7e02b881818682df19a4c60b48d9d58fc50dc97409e75d2eac5556c56ad996613a16d63804042e4fdd76b5d0d38cfc538e3ca6fab464968da8d4d71ec46aff1')
+
+build() {
+ cd "fox-${pkgver}"
+ ./configure --prefix=/usr \
+ --enable-static=no \
+ --enable-release \
+ --with-xft=yes \
+ --with-opengl=yes \
+ --with-xim \
+ --with-xshm \
+ --with-shape \
+ --with-xcursor \
+ --with-xrender \
+ --with-xrandr \
+ --with-xfixes \
+ --with-xinput
+ make
+}
+
+package() {
+ cd "fox-${pkgver}"
+ make DESTDIR="${pkgdir}/" install
+
+ # license
+ install -Dm644 LICENSE_ADDENDUM \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # rename files to prevent conflicts with fox
+ for _binary in `find "${pkgdir}"/usr/bin -type f`; do
+ mv ${_binary} "${_binary}-devel"
+ done;
+ for _man in `find "${pkgdir}"/usr/share/man -type f`; do
+ mv ${_man} "$(dirname ${_man})/$(basename ${_man})-devel.1"
+ done;
+}
More information about the arch-commits
mailing list