[arch-commits] Commit in allegro/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Mar 11 07:53:01 UTC 2020


    Date: Wednesday, March 11, 2020 @ 07:53:01
  Author: arojas
Revision: 594097

archrelease: copy trunk to community-x86_64

Added:
  allegro/repos/community-x86_64/PKGBUILD
    (from rev 594096, allegro/trunk/PKGBUILD)
Deleted:
  allegro/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 34 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-11 07:51:12 UTC (rev 594096)
+++ PKGBUILD	2020-03-11 07:53:01 UTC (rev 594097)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: arjan <arjan at archlinux.org>
-
-pkgname=allegro
-pkgver=5.2.5
-pkgrel=2
-pkgdesc='Portable library mainly aimed at video game and multimedia programming'
-arch=(x86_64)
-url='https://liballeg.org/'
-license=(custom)
-makedepends=(cmake git glu libtheora mesa-libgl ninja opusfile pandoc xorgproto)
-depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxpm opusfile physfs)
-source=("git+https://github.com/liballeg/${pkgname}${pkgver%%.*}#tag=$pkgver.0")
-md5sums=('SKIP')
-
-build() {
-  mkdir -p build
-  cd build
-  cmake "../${pkgname}${pkgver%%.*}" \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DWANT_DOCS_HTML=OFF \
-    -G Ninja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 "${pkgname}${pkgver%%.*}/LICENSE.txt" \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Fix man path
-  mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man"
-}
-
-# getver: liballeg.org/a5docs/trunk
-# vim: ts=2 sw=2 et:

Copied: allegro/repos/community-x86_64/PKGBUILD (from rev 594096, allegro/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-11 07:53:01 UTC (rev 594097)
@@ -0,0 +1,34 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: arjan <arjan at archlinux.org>
+
+pkgname=allegro
+pkgver=5.2.6.0
+pkgrel=1
+pkgdesc='Portable library mainly aimed at video game and multimedia programming'
+arch=(x86_64)
+url='https://liballeg.org/'
+license=(custom)
+makedepends=(cmake glu libtheora mesa-libgl opusfile pandoc xorgproto)
+depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxpm opusfile physfs)
+source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz")
+sha256sums=('5de8189ec051e1865f359654f86ec68e2a12a94edd00ad06d1106caa5ff27763')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWANT_DOCS_HTML=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+
+  # Fix man path
+  mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man"
+}



More information about the arch-commits mailing list