pkgname=enet pkgver=1.3.18 pkgrel=1 pkgdesc='Thin, simple and robust network communication layer on top of UDP.' arch=('x86_64') url='http://enet.bespin.org' license=('custom') depends=('glibc') options=('!libtool') source=("http://enet.bespin.org/download/${pkgname}-${pkgver}.tar.gz") md5sums=('0b52430b05f42ff867a44a8ce5df2012') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }