[arch-commits] Commit in fox-devel/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Dec 3 02:36:03 UTC 2017
Date: Sunday, December 3, 2017 @ 02:36:02
Author: dvzrv
Revision: 271954
upgpkg: fox-devel 1.7.61-1
Updating maintainer. Switching to sha512sums. Minor fixes.
Modified:
fox-devel/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-03 02:00:08 UTC (rev 271953)
+++ PKGBUILD 2017-12-03 02:36:02 UTC (rev 271954)
@@ -1,5 +1,6 @@
# $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# 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
@@ -11,12 +12,12 @@
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")
-sha256sums=('a4778167bf4073ca68d2db24dcebac7e6a9af0c6567ddccc6379d085d053ce48')
+provides=("fox=${pkgver}")
+source=("${url/www/ftp}pub/fox-${pkgver}.tar.gz")
+sha512sums=('d7e02b881818682df19a4c60b48d9d58fc50dc97409e75d2eac5556c56ad996613a16d63804042e4fdd76b5d0d38cfc538e3ca6fab464968da8d4d71ec46aff1')
build() {
- cd fox-$pkgver
+ cd "fox-${pkgver}"
./configure --prefix=/usr \
--enable-static=no \
--enable-release \
@@ -34,17 +35,18 @@
}
package() {
- cd fox-$pkgver
- make DESTDIR="$pkgdir/" install
+ cd "fox-${pkgver}"
+ make DESTDIR="${pkgdir}/" install
# license
- install -Dm644 LICENSE_ADDENDUM "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE_ADDENDUM \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- # rename apps to prevent conflicts with fox
- for _f in `find "$pkgdir"/usr/bin -type f`; do
- mv $_f $_f-1.7
+ # rename files to prevent conflicts with fox
+ for _binary in `find "${pkgdir}"/usr/bin -type f`; do
+ mv ${_binary} "${_binary}-devel"
done;
- for _f in `find "$pkgdir"/usr/share/man -type f`; do
- mv $_f `dirname $_f`/`basename $_f .1`-1.7.1
+ 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