[arch-commits] Commit in allegro/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Nov 28 20:56:27 UTC 2016
Date: Monday, November 28, 2016 @ 20:56:26
Author: arodseth
Revision: 197185
upgpkg: allegro 5.2.1.1-1
Modified:
allegro/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-28 20:47:51 UTC (rev 197184)
+++ PKGBUILD 2016-11-28 20:56:26 UTC (rev 197185)
@@ -5,7 +5,7 @@
# Contributor: arjan <arjan at archlinux.org>
pkgname=allegro
-pkgver=5.2.1.0
+pkgver=5.2.1.1
pkgrel=1
pkgdesc='Portable library mainly aimed at video game and multimedia programming'
arch=('x86_64' 'i686')
@@ -13,12 +13,12 @@
license=('custom')
makedepends=('cmake' 'mesa-libgl' 'glu' 'ninja' 'libtheora' 'git')
depends=('jack' 'libxpm' 'libxxf86dga' 'libgl' 'physfs' 'gtk2' 'libpulse' 'libtheora')
-source=("git://github.com/liballeg/${pkgname}${pkgver%%.*}.git#tag=$pkgver")
+source=("git://github.com/liballeg/${pkgname}${pkgver%%.*}#tag=$pkgver")
md5sums=('SKIP')
build() {
- mkdir -p build
- cd build
+ mkdir -p build; cd build
+
cmake "../${pkgname}${pkgver%%.*}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -25,11 +25,13 @@
-DWANT_DOCS=OFF \
-DWANT_PHYSFS=ON \
-G Ninja
+
ninja
}
package() {
DESTDIR="$pkgdir" ninja -C build install
+
install -Dm644 "${pkgname}${pkgver%%.*}/LICENSE.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list