Last active
August 29, 2015 13:56
-
-
Save swdunlop/9268474 to your computer and use it in GitHub Desktop.
An Arch Linux PKGBUILD for Yara2, bastardized from the original Yara PKGBUILD on the AUR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: fnord0 <fnord0 AT riseup DOT net> | |
# Hacked by swdunlop for yara2 and removed spurious .install <[email protected]> | |
pkgname=('yara2') | |
pkgver=2.0.0 | |
pkgrel=1 | |
epoch= | |
pkgdesc="yara - A malware identification and classification tool" | |
arch=('x86' 'x86_64') | |
url="https://github.com/plusvic/yara/archive/v${pkgver}.tar.gz" | |
license=('APACHE') | |
depends=('gcc') | |
conflicts=('yara') | |
source=("$url" | |
"https://github.com/plusvic/yara/releases/download/v2.0.0/YARA.User.s.Manual.pdf") | |
build() { | |
cd "$srcdir/yara-$pkgver" | |
sh ./bootstrap.sh | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
install -d "$pkgdir/usr/share/yara" | |
cd "$srcdir/yara-$pkgver" | |
make DESTDIR="$pkgdir/" install | |
cp -p "$srcdir/YARA.User.s.Manual.pdf" "$pkgdir/usr/share/yara/YARA.User.s.Manual.pdf" | |
} | |
md5sums=('342a0f63674ee3a33994155f6a7aacb2' | |
'c09cacaa3a16d08b8895ca2e120ba1d6') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment