[arch-commits] Commit in freeglut/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue May 3 22:02:22 UTC 2022
Date: Tuesday, May 3, 2022 @ 22:02:22
Author: heftig
Revision: 444546
archrelease: copy trunk to extra-x86_64
Added:
freeglut/repos/extra-x86_64/PKGBUILD
(from rev 444545, freeglut/trunk/PKGBUILD)
Deleted:
freeglut/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-03 22:02:21 UTC (rev 444545)
+++ PKGBUILD 2022-05-03 22:02:22 UTC (rev 444546)
@@ -1,39 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=freeglut
-pkgver=3.2.2
-pkgrel=1
-pkgdesc="Provides functionality for small OpenGL programs"
-url="http://freeglut.sourceforge.net/"
-arch=(x86_64)
-license=(MIT)
-depends=(libxi libxrandr libgl)
-makedepends=(mesa glu libxxf86vm cmake ninja)
-replaces=(glut)
-provides=(glut)
-conflicts=(glut)
-source=(https://downloads.sourceforge.net/freeglut/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('190231951d314f854c244bd27f7c20488403bd0eecffc342097a2e3d1621cec87f6c209a77b4c153aabcf44697b4070227930e295ab74fb88953cbbf94fc81d9')
-
-prepare() {
- cd $pkgname-$pkgver
-}
-
-build() {
- cmake -S $pkgname-$pkgver -B build -G Ninja \
- -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=None
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
- ln -sr "$pkgdir"/usr/lib/pkgconfig/{glut,freeglut}.pc
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING
-}
-
-# vim:set sw=2 et:
Copied: freeglut/repos/extra-x86_64/PKGBUILD (from rev 444545, freeglut/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-03 22:02:22 UTC (rev 444546)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=freeglut
+pkgver=3.2.2
+pkgrel=2
+pkgdesc="Provides functionality for small OpenGL programs"
+url="http://freeglut.sourceforge.net/"
+arch=(x86_64)
+license=(MIT)
+depends=(libxi libxrandr libgl)
+makedepends=(mesa glu libxxf86vm cmake ninja)
+replaces=(glut)
+provides=(glut)
+conflicts=(glut)
+options=(debug)
+source=(https://downloads.sourceforge.net/freeglut/freeglut-$pkgver.tar.gz)
+sha512sums=('190231951d314f854c244bd27f7c20488403bd0eecffc342097a2e3d1621cec87f6c209a77b4c153aabcf44697b4070227930e295ab74fb88953cbbf94fc81d9')
+
+prepare() {
+ cd freeglut-$pkgver
+}
+
+build() {
+ cmake -S freeglut-$pkgver -B build -G Ninja \
+ -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=None
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ ln -sr "$pkgdir"/usr/lib/pkgconfig/{glut,freeglut}.pc
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 freeglut-$pkgver/COPYING
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list