[arch-commits] Commit in allegro/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Aug 6 19:24:10 UTC 2016


    Date: Saturday, August 6, 2016 @ 19:24:10
  Author: arodseth
Revision: 185686

upgpkg: allegro 5.2.1.0-1

Modified:
  allegro/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-06 19:23:23 UTC (rev 185685)
+++ PKGBUILD	2016-08-06 19:24:10 UTC (rev 185686)
@@ -5,32 +5,32 @@
 # Contributor: arjan <arjan at archlinux.org>
 
 pkgname=allegro
-pkgver=5.2.0.0
+pkgver=5.2.1.0
 pkgrel=1
 pkgdesc='Portable library mainly aimed at video game and multimedia programming'
 arch=('x86_64' 'i686')
-url='http://alleg.sourceforge.net/'
+url='http://liballeg.org/'
 license=('custom')
-makedepends=('cmake' 'mesa-libgl' 'glu' 'ninja' 'libtheora')
+makedepends=('cmake' 'mesa-libgl' 'glu' 'ninja' 'libtheora' 'git')
 depends=('jack' 'libxpm' 'libxxf86dga' 'libgl' 'physfs' 'gtk2' 'libpulse' 'libtheora')
-source=("http://download.gna.org/allegro/allegro/${pkgver%.*}/$pkgname-${pkgver%.*}.tar.gz")
-sha256sums=('af5a69cd423d05189e92952633f9c0dd0ff3a061d91fbce62fb32c4bd87f9fd7')
+source=("git://github.com/liballeg/${pkgname}${pkgver%%.*}.git#tag=$pkgver")
+md5sums=('SKIP')
 
 build() {
   mkdir -p build
   cd build
-  cmake "../$pkgname-$pkgver" \
+  cmake "../${pkgname}${pkgver%%.*}" \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DWANT_DOCS=OFF \
     -DWANT_PHYSFS=ON \
-    -GNinja
+    -G Ninja
   ninja
 }
 
 package() {
   DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 "$pkgname-$pkgver/LICENSE.txt" \
+  install -Dm644 "${pkgname}${pkgver%%.*}/LICENSE.txt" \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 



More information about the arch-commits mailing list