mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/allegro to 5.2.6.0-1
This commit is contained in:
parent
a4753df3f7
commit
228797c623
1 changed files with 11 additions and 16 deletions
|
@ -8,36 +8,31 @@
|
||||||
# - comment fixing man path
|
# - comment fixing man path
|
||||||
|
|
||||||
pkgname=allegro
|
pkgname=allegro
|
||||||
pkgver=5.2.5
|
pkgver=5.2.6.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='Portable library mainly aimed at video game and multimedia programming'
|
pkgdesc='Portable library mainly aimed at video game and multimedia programming'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://liballeg.org/'
|
url='https://liballeg.org/'
|
||||||
license=(custom)
|
license=(custom)
|
||||||
makedepends=(cmake git glu libtheora mesa-libgl ninja opusfile xorgproto)
|
makedepends=(cmake glu libtheora mesa-libgl opusfile xorgproto)
|
||||||
depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxpm opusfile physfs)
|
depends=(dumb gtk2 jack libgl libpulse libtheora libwebp libxpm opusfile physfs)
|
||||||
source=("git+https://github.com/liballeg/${pkgname}${pkgver%%.*}#tag=$pkgver.0")
|
source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz")
|
||||||
md5sums=('SKIP')
|
sha256sums=('5de8189ec051e1865f359654f86ec68e2a12a94edd00ad06d1106caa5ff27763')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake "../${pkgname}${pkgver%%.*}" \
|
cmake ../$pkgname-$pkgver \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DWANT_DOCS_HTML=OFF \
|
-DWANT_DOCS_HTML=OFF
|
||||||
-G Ninja
|
make
|
||||||
ninja
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="$pkgdir" ninja -C build install
|
cd build
|
||||||
install -Dm644 "${pkgname}${pkgver%%.*}/LICENSE.txt" \
|
make DESTDIR="$pkgdir" install
|
||||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
|
|
||||||
# Fix man path
|
# Fix man path
|
||||||
#mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man"
|
#mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man"
|
||||||
}
|
}
|
||||||
|
|
||||||
# getver: liballeg.org/a5docs/trunk
|
|
||||||
# vim: ts=2 sw=2 et:
|
|
||||||
|
|
Loading…
Reference in a new issue