diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-26 15:16:01 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-26 15:16:01 (GMT) |
commit | 6b77bb0aea893b43a477ef91c9098669dddcefb5 (patch) | |
tree | 69da4f9d8aeabca2854f8183bc21170405015d14 | |
parent | 53aa2e60eb10929d9be291c63717c5a03fec1a83 (diff) | |
download | linhes_pkgbuild-6b77bb0aea893b43a477ef91c9098669dddcefb5.zip linhes_pkgbuild-6b77bb0aea893b43a477ef91c9098669dddcefb5.tar.gz linhes_pkgbuild-6b77bb0aea893b43a477ef91c9098669dddcefb5.tar.bz2 |
sdl_net: 1.2.8
-rw-r--r-- | abs/extra/sdl_net/PKGBUILD | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/abs/extra/sdl_net/PKGBUILD b/abs/extra/sdl_net/PKGBUILD index ac3073e..76605a5 100644 --- a/abs/extra/sdl_net/PKGBUILD +++ b/abs/extra/sdl_net/PKGBUILD @@ -1,22 +1,29 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# $Id: PKGBUILD 146689 2012-01-16 11:36:24Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: dorphell <dorphell@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> + pkgname=sdl_net -pkgver=1.2.7 -pkgrel=2 +pkgver=1.2.8 +pkgrel=1 pkgdesc="A small sample cross-platform networking library" -arch=(i686 x86_64) -license=(GPL) +arch=('i686' 'x86_64') +license=('custom') +url="http://www.libsdl.org/projects/SDL_net/" depends=('sdl') options=('!libtool') -url="http://www.libsdl.org/projects/SDL_net/" -source=(http://www.libsdl.org/projects/SDL_net/release/SDL_net-${pkgver}.tar.gz) +source=(http://www.libsdl.org/projects/SDL_net/release/SDL_net-$pkgver.tar.gz) +md5sums=('20e64e61d65662db66c379034f11f718') build() { - cd ${startdir}/src/SDL_net-${pkgver} - ./configure --prefix=/usr - make || return 1 - make DESTDIR=${startdir}/pkg install + cd "$srcdir/SDL_net-$pkgver" + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$srcdir/SDL_net-$pkgver" + make DESTDIR="$pkgdir" install + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } -md5sums=('6bd4662d1423810f3140d4da21b6d912') |