diff options
author | G. Schlisio | 2016-11-02 22:39:35 +0100 |
---|---|---|
committer | G. Schlisio | 2016-11-02 22:39:35 +0100 |
commit | e23fb798364b793d9f33c36da286b96b955b437e (patch) | |
tree | 1aa75310a2a668478829d7b59d16b0e5742bad12 | |
parent | 05abbedf4ae6d4298d72dd6d8f08b25d7106f98e (diff) | |
download | aur-e23fb798364b793d9f33c36da286b96b955b437e.tar.gz |
as people insist on an update, even though this is totally not an appropriate package. builtin stopper, that needs to be removed manually
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 24 insertions, 22 deletions
@@ -1,15 +1,15 @@ pkgbase = maldet pkgdesc = Linux Malware Detect - pkgver = 1.4.2 - pkgrel = 2 + pkgver = 1.5 + pkgrel = 1 url = https://www.rfxn.com/projects/linux-malware-detect/ arch = x86_64 arch = i686 license = GPL depends = perl - source = http://www.rfxn.com/downloads/maldetect-1.4.2.tar.gz - sha256sums = 79b475e7217e6019289f9c13d5c0e4e39e85db57831e894b36324c77a375a77a - depends_x86_64 = lib32-glibc + depends = lib32-glibc + source = http://www.rfxn.com/downloads/maldetect-1.5.tar.gz + sha256sums = 1cb9e971aad4652349d81609dd66b6a2d51e415f410ea34e0d62fd402be1ffe7 pkgname = maldet @@ -1,10 +1,9 @@ # Maintainer: Matt Harrison <matt@mistbyte.com> # Contributor: Sergey Mamonov <mrqwer88@gmail.com> -# This PKGBUILD is maintained at https://github.com/matt-h/aur-pkgbuilds/tree/master/maldet pkgname=maldet -pkgver=1.4.2 -pkgrel=2 +pkgver=1.5 +pkgrel=1 pkgdesc="Linux Malware Detect" url="https://www.rfxn.com/projects/linux-malware-detect/" arch=('x86_64' 'i686') @@ -12,20 +11,23 @@ license=('GPL') depends=('perl') depends_x86_64=('lib32-glibc') -source=("http://www.rfxn.com/downloads/maldetect-1.4.2.tar.gz") -sha256sums=('79b475e7217e6019289f9c13d5c0e4e39e85db57831e894b36324c77a375a77a') +source=("http://www.rfxn.com/downloads/maldetect-$pkgver.tar.gz") +sha256sums=('1cb9e971aad4652349d81609dd66b6a2d51e415f410ea34e0d62fd402be1ffe7') package() { - cd "${srcdir}/${pkgname}ect-${pkgver}" - mkdir -p ${pkgdir}/usr/local/sbin - mkdir -p ${pkgdir}/usr/lib - mkdir -p ${pkgdir}/etc/cron.daily - sed -i "s|/usr/|${pkgdir}/usr/|g" install.sh - sed -i "s|/etc/|${pkgdir}/etc/|g" install.sh - sed -i 's|$inspath/maldet --update|#$inspath/maldet --update|' install.sh - sed -i 's|ln -fs $inspath/maldet|#ln -fs $inspath/maldet|' install.sh - sh install.sh - cd "${pkgdir}/usr/local/sbin/" - ln -fs ../maldetect/maldet maldet - ln -fs ../maldetect/maldet lmd + echo "Warning! This package does not comply to the Arch packaging standarts" + echo "Usage strongly discouraged, use at own risk!" + false + cd "${srcdir}/${pkgname}ect-${pkgver}" + mkdir -p ${pkgdir}/usr/local/sbin + mkdir -p ${pkgdir}/usr/lib + mkdir -p ${pkgdir}/etc/cron.daily + sed -i "s|/usr/|${pkgdir}/usr/|g" install.sh + sed -i "s|/etc/|${pkgdir}/etc/|g" install.sh + sed -i 's|$inspath/maldet --update|#$inspath/maldet --update|' install.sh + sed -i 's|ln -fs $inspath/maldet|#ln -fs $inspath/maldet|' install.sh + sh install.sh + cd "${pkgdir}/usr/local/sbin/" + ln -fs ../maldetect/maldet maldet + ln -fs ../maldetect/maldet lmd } |