diff options
Diffstat (limited to 'community/allegro/PKGBUILD')
-rw-r--r-- | community/allegro/PKGBUILD | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD index d7e8e550b..8e5a88a8b 100644 --- a/community/allegro/PKGBUILD +++ b/community/allegro/PKGBUILD @@ -4,33 +4,33 @@ # Contributor: arjan <arjan@archlinux.org> pkgname=allegro -pkgver=5.0.5 -pkgrel=2 +pkgver=5.0.6 +pkgrel=1 pkgdesc="Portable library mainly aimed at video game and multimedia programming" -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') url="http://alleg.sourceforge.net/" license=('custom') depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng' 'libgl' 'libjpeg') makedepends=('cmake' 'mesa' 'freetype2') -source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz) -md5sums=('4d879afe7062f7dc9b8913cba2e44bdf') +source=("http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz") +sha256sums=('d981a1cac937085e6636e597c492ddb743066516c1d215c2a39e4049bd70dc24') build() { - cd "${srcdir}" - mkdir build && cd build - - cmake "../${pkgname}-${pkgver}" \ + mkdir build + cd build + cmake "../$pkgname-$pkgver" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DWANT_DOCS=OFF - make } package() { - cd "${srcdir}"/build + cd "$srcdir/build" - make DESTDIR="${pkgdir}" install - - install -D -m644 ../${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + make DESTDIR="$pkgdir" install + install -Dm644 "../$pkgname-$pkgver/LICENSE.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } + +# vim:set ts=2 sw=2 et: |