diff options
Diffstat (limited to 'extra/sdl2_net/PKGBUILD')
-rw-r--r-- | extra/sdl2_net/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/extra/sdl2_net/PKGBUILD b/extra/sdl2_net/PKGBUILD index 6deb7d889..0fb72721c 100644 --- a/extra/sdl2_net/PKGBUILD +++ b/extra/sdl2_net/PKGBUILD @@ -1,30 +1,28 @@ +# $Id: PKGBUILD 198416 2013-10-30 14:44:37Z allan $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=sdl2_net -pkgver=249 +epoch=1 +pkgver=2.0.0 pkgrel=1 pkgdesc="A small sample cross-platform networking library (Version 2)" arch=('i686' 'x86_64') -url="http://www.libsdl.org" +url="http://www.libsdl.org/projects/SDL_net" license=('MIT') depends=(sdl2) -makedepends=(mercurial) -options=(!libtool) -source=("sdl2_net::hg+http://hg.libsdl.org/SDL_net#revision=$pkgver") -md5sums=('SKIP') +source=("$url/release/SDL2_net-${pkgver}.tar.gz") +md5sums=('83bcd0e67796b81b35b08a014c677200') build() { - cd "${srcdir}/sdl2_net/" + cd "${srcdir}/SDL2_net-${pkgver}/" - ./autogen.sh ./configure --disable-static --prefix=/usr make } package() { - cd "${srcdir}/sdl2_net/" - - make DESTDIR="${pkgdir}/" install + cd "${srcdir}/SDL2_net-${pkgver}/" + make DESTDIR="${pkgdir}" install install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |