[arch-commits] Commit in (fstrm fstrm/repos fstrm/trunk fstrm/trunk/PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Oct 31 22:24:41 UTC 2017


    Date: Tuesday, October 31, 2017 @ 22:24:40
  Author: archange
Revision: 264947

Initial addition of fstrm to [community]

Added:
  fstrm/
  fstrm/repos/
  fstrm/trunk/
  fstrm/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: fstrm/trunk/PKGBUILD
===================================================================
--- fstrm/trunk/PKGBUILD	                        (rev 0)
+++ fstrm/trunk/PKGBUILD	2017-10-31 22:24:40 UTC (rev 264947)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=fstrm
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="A C implementation of the Frame Streams data transport protocol"
+arch=('i686' 'x86_64')
+url="https://github.com/farsightsec/fstrm"
+license=('Apache')
+depends=('libevent')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('16112cda18aece363e32a04cd2265174b09944f3f3dcffa5c8312a293ec93737')
+
+build() {
+	cd ${pkgname}-${pkgver}
+    autoreconf -vfi
+	./configure --prefix=/usr
+	make
+}
+
+check() {
+	cd ${pkgname}-${pkgver}
+	make -k check
+}
+
+package() {
+	cd ${pkgname}-${pkgver}
+	make DESTDIR="${pkgdir}" install
+
+	install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+



More information about the arch-commits mailing list