[arch-commits] Commit in yara/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Mon Jun 7 19:49:06 UTC 2021
Date: Monday, June 7, 2021 @ 19:49:06
Author: anthraxx
Revision: 958127
archrelease: copy trunk to community-staging-x86_64
Added:
yara/repos/community-staging-x86_64/
yara/repos/community-staging-x86_64/PKGBUILD
(from rev 958126, yara/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: yara/repos/community-staging-x86_64/PKGBUILD (from rev 958126, yara/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-06-07 19:49:06 UTC (rev 958127)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: bitwave <aur [aT] oomlu [d0T] de>
+# Contributor: fnord0 <fnord0 AT riseup DOT net>
+
+pkgname=yara
+pkgver=4.1.1
+pkgrel=1
+pkgdesc='Tool aimed at helping malware researchers to identify and classify malware samples'
+url='https://github.com/VirusTotal/yara'
+arch=('x86_64')
+license=('BSD')
+depends=('openssl' 'file' libmagic.so)
+provides=('libyara.so')
+source=(https://github.com/VirusTotal/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('e4474254249d5b3fbb7231fdec5f4e080be042098e1b2bc953aa93513ce0b4742e34acac2911687e75055ecd589d942f71b79c58ca47eee243626ab3ec8add71')
+b2sums=('6edf277702fb40513097195c730002875eef75502e92d672597ca09fefc054c14a082076877e8bea3daaeb05148a9116e2c302ea90a6ce6270e460fce31db658')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -fiv
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --with-crypto \
+ --enable-magic
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r docs "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list