diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -3,7 +3,7 @@ pkgname=libwebsockets-git _gitname=libwebsockets pkgver=1160.a2a4b0b -pkgrel=2 +pkgrel=3 pkgdesc="A lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions." arch=('i686' 'x86_64' 'armv6h' 'armv7h') url="https://libwebsockets.org" @@ -23,11 +23,7 @@ build() { rm -rf build mkdir build cd build - if test "$CARCH" == x86_64; then - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=64 .. - else - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. - fi + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make } @@ -39,7 +35,4 @@ package() { install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" cd "$pkgdir/usr" - if test "$CARCH" == x86_64; then - mv lib64 lib - fi } |