Date: Friday, January 20, 2017 @ 18:42:49 Author: anthraxx Revision: 208145
upgpkg: yara 3.5.0-2 (package cleanup + fix license) Modified: yara/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-20 18:22:48 UTC (rev 208144) +++ PKGBUILD 2017-01-20 18:42:49 UTC (rev 208145) @@ -4,27 +4,30 @@ pkgname=yara pkgver=3.5.0 -pkgrel=1 +pkgrel=2 pkgdesc='Tool aimed at helping malware researchers to identify and classify malware samples' url='https://github.com/VirusTotal/yara' arch=('i686' 'x86_64') -license=('Apache') -makedepends=('openssl' 'file' 'python-setuptools' 'python2-setuptools') +license=('BSD') +depends=('openssl' 'file') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/VirusTotal/${pkgname}/archive/v${pkgver}.tar.gz) -sha512sums=('52b815c59ad086020bd8a002d13b89d671a218c2f3a3214b93fb215f18f7f4b57ed6d27c2aa03218626eb1da1f541a0b1d0b20a3d467950089e5150bc90fe76b') +sha512sums=('84e3b8248749271f154c05216417be76c56563012c0a2013fde5184c6ed03d2933c456d61f036292c42030b52705d5c6e94824d1fd36dbffe46af625ddedaaf5') build() { cd ${pkgname}-${pkgver} - autoreconf --force --install - ./configure --prefix=/usr --with-crypto --enable-magic + autoreconf -fiv + ./configure \ + --prefix=/usr \ + --with-crypto \ + --enable-magic make } package() { - depends=('openssl' 'file') cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install - install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README" + 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}" }
