desktop/enet/PKGBUILD

35 lines
747 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=enet
pkgver=1.3.3
pkgrel=1
pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP.'
arch=('i686' 'x86_64')
url='http://enet.bespin.org/'
license=('MIT')
replaces=('enet-old')
changelog=ChangeLog
source=("http://$pkgname.bespin.org/download/$pkgname-$pkgver.tar.gz")
md5sums=('4b0b69377fd4511e82e5f0921a942e59')
build() {
cd $pkgname-$pkgver
# CFLAGS="-fPIC" \
./configure \
--prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make prefix=$pkgdir/usr install
# License:
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}