[arch-commits] Commit in clanlib/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Jul 28 00:56:17 UTC 2020
Date: Tuesday, July 28, 2020 @ 00:56:17
Author: svenstaro
Revision: 665584
upgpkg: clanlib 4.0.0-5: Modernize package
Modified:
clanlib/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-28 00:51:17 UTC (rev 665583)
+++ PKGBUILD 2020-07-28 00:56:17 UTC (rev 665584)
@@ -1,19 +1,19 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
pkgname=clanlib
pkgver=4.0.0
-pkgrel=4
+pkgrel=5
pkgdesc="A multi-platform game development library."
arch=('x86_64')
-url="http://clanlib.org/"
-license=('zlib')
-depends=('alsa-lib' 'libjpeg' 'libmikmod' 'libpng' 'libvorbis' 'libxi' 'libxmu' 'sdl_gfx' 'freetype2' 'pcre' 'sqlite' 'libgl')
-makedepends=('doxygen' 'graphviz' 'mesa' 'git')
-source=(git://github.com/sphair/ClanLib.git#tag=v${pkgver})
-sha512sums=('SKIP')
+url="https://github.com/sphair/ClanLib"
+license=('custom:zlib')
+depends=('alsa-lib' 'libjpeg' 'libmikmod' 'libpng' 'libvorbis' 'libxi' 'libxmu' 'sdl_gfx'
+ 'freetype2' 'pcre' 'sqlite' 'libgl')
+makedepends=('doxygen' 'graphviz' 'mesa')
+source=($pkgname-$pkgver.tar.gz::https://github.com/sphair/ClanLib/archive/v4.0.0.tar.gz)
+sha512sums=('e727239d782d2d52ce2f927e16a88c469b30f46d5b9eba4573baa520d98f60515df7ff4dd921092ddd5cfe4c6f5c441e0f33469b774287003db439feb8b027fe')
-build() {
- cd ClanLib
+build() {
+ cd ClanLib-$pkgver
./autogen.sh
./configure --prefix=/usr
@@ -23,13 +23,13 @@
}
package() {
- cd ClanLib
+ cd ClanLib-$pkgver
- make DESTDIR=${pkgdir} install
- make DESTDIR=${pkgdir} install-html
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install-html
- install -d ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/
}
# vim: sw=2:ts=2 et:
More information about the arch-commits
mailing list