Compare commits

...

2 Commits

Author SHA1 Message Date
f9947cc521
🎨 Reformatted files 2021-10-21 12:22:35 +02:00
f265b858cc
🎉 Added socketw PKGBUILD 2021-10-21 12:22:20 +02:00
3 changed files with 60 additions and 32 deletions

View File

@ -1,4 +1,5 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=ogre-1.11
pkgver=1.11.6
pkgrel=1

27
socketw/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=socketw
pkgver=3.10.27
pkgrel=1
pkgdesc="a cross platform streaming socket C++ library"
arch=('i686' 'x86_64')
url="http://rigsofrods.github.io/socketw/"
depends=('libssl-dev')
license=('GPL-2')
source=("https://github.com/RigsOfRods/socketw/archive/${pkgver}.tar.gz")
sha512sums=('2434e4e3ccb8a93a8fc08ca42e3af0b2e3ba420043b290c4b3f23c14f172e4cdc6a7f32e8abfaa11ecc0adc7f864ea07d03e444c62a286a83b62077a8b05673e')
build() {
cd socketw-${pkgver}
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
}
package() {
cd socketw-${pkgver}
make DESTDIR=${pkgdir} install
}