From 680471ecfb0e1140a915ae2a631ad0ec97887932 Mon Sep 17 00:00:00 2001 From: heinrich5991 <heinrich5991@gmail.com> Date: Wed, 17 Jul 2013 21:51:10 +0200 Subject: [PATCH] added libsrsbsns 0.0.1 --- .SRCINFO | 15 +++++++++++++++ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..f8e9e59e71f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libsrsbsns + pkgdesc = A library providing some basic functions for sockets, I/O, etc. + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/srsbsns/libsrsbsns + arch = i686 + arch = x86_64 + license = BSD + depends = glibc + options = !libtool + source = libsrsbsns-0.0.1.tar.gz::https://github.com/srsbsns/libsrsbsns/archive/v0.0.1.tar.gz + sha256sums = 61520cabe79b2e0a5a89de8f530f4b4bec8ff4bed0881266d347941e7635ce01 + +pkgname = libsrsbsns + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..5a8b62ba8dc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: heinrich5991 <heinrich5991@gmail.com> +pkgname=libsrsbsns +pkgver=0.0.1 +pkgrel=1 +pkgdesc="A library providing some basic functions for sockets, I/O, etc." +arch=('i686' 'x86_64') +url="https://github.com/srsbsns/libsrsbsns" +license=('BSD') +depends=(glibc) +options=(!libtool) +source=("$pkgname-$pkgver.tar.gz::https://github.com/srsbsns/libsrsbsns/archive/v0.0.1.tar.gz") +sha256sums=('61520cabe79b2e0a5a89de8f530f4b4bec8ff4bed0881266d347941e7635ce01') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + ./autogen.sh + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver/" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="$pkgdir/" install + install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} +# vim:set ts=2 sw=2 et: