summaryrefslogtreecommitdiff
path: root/community/enet/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-03 00:04:14 +0000
committerroot <root@rshg054.dnsready.net>2012-06-03 00:04:14 +0000
commitd915cad658736d96368750201c34df752048751a (patch)
treea6d70fb8b01aaa111efbc8a6874a8f94b882626d /community/enet/PKGBUILD
parent211709a2f09bd677aa1deac0dc82fde6ce1c8626 (diff)
Sun Jun 3 00:04:13 UTC 2012
Diffstat (limited to 'community/enet/PKGBUILD')
-rw-r--r--community/enet/PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/community/enet/PKGBUILD b/community/enet/PKGBUILD
index 79d9ad6af..41b97c012 100644
--- a/community/enet/PKGBUILD
+++ b/community/enet/PKGBUILD
@@ -1,32 +1,27 @@
-# $Id: PKGBUILD 66600 2012-02-26 14:00:34Z lfleischer $
+# $Id: PKGBUILD 71720 2012-06-01 18:47:54Z ebelanger $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Bj?indeijer <bjorn@lindeijer.nl>
pkgname=enet
-pkgver=1.3.3
-pkgrel=2
+pkgver=1.3.4
+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)
+options=('!libtool')
source=("http://enet.bespin.org/download/${pkgname}-${pkgver}.tar.gz")
-md5sums=('4b0b69377fd4511e82e5f0921a942e59')
+md5sums=('e5fb0ca3fd3a9fe7eadbcde4d6af1517')
build() {
cd "${pkgname}-${pkgver}"
-
- CFLAGS="-fPIC" ./configure --prefix=/usr
+ CFLAGS+="-fPIC" ./configure --prefix=/usr
make
- gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2 *.o
}
package() {
cd "${pkgname}-${pkgver}"
-
- make prefix="${pkgdir}/usr" install
-
- install -m755 libenet.so.2 "${pkgdir}/usr/lib"
+ make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}