summaryrefslogtreecommitdiff
path: root/community/enet
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/enet
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/enet')
-rw-r--r--community/enet/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/enet/PKGBUILD b/community/enet/PKGBUILD
new file mode 100644
index 000000000..2e1f2a1ad
--- /dev/null
+++ b/community/enet/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 92446 2013-06-05 15:30:42Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Bj?indeijer <bjorn@lindeijer.nl>
+
+pkgname=enet
+pkgver=1.3.8
+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=('custom')
+depends=('glibc')
+options=('!libtool')
+source=("http://enet.bespin.org/download/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('72284b0699ace09c1723fd532742077ca775b724')
+
+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"
+}