[arch-commits] Commit in fstrm/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:06:13 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:06:12
Author: felixonmars
Revision: 659551
archrelease: copy trunk to community-staging-x86_64
Added:
fstrm/repos/community-staging-x86_64/
fstrm/repos/community-staging-x86_64/PKGBUILD
(from rev 659550, fstrm/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: fstrm/repos/community-staging-x86_64/PKGBUILD (from rev 659550, fstrm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:06:12 UTC (rev 659551)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=fstrm
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="A C implementation of the Frame Streams data transport protocol"
+arch=(x86_64)
+url="https://github.com/farsightsec/fstrm"
+license=(Apache)
+depends=(libevent)
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('82851b2424ae3e94b4fba310b60629b33d6757fbeb15662566b1857cd5c31517')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -vfi
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./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